Skip to content
Snippets Groups Projects
Select Git revision
  • 3e48ced0eee9ada01cb8ed21ae80262ab39f1c88
  • main default protected
  • development
  • integration
  • v1.1.5
  • v1.1.4
  • v1.1.3
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.0
11 results

MessengerIsLoadedTests.swift

Blame
  • endpoints.go 525 B
    package main
    
    import (
    	jww "github.com/spf13/jwalterweatherman"
    	"gitlab.com/elixxir/client/restlike"
    )
    
    // Callback will be called whenever a message is received by the server
    //  with a matching restlike.Method and restlike.URI.
    //
    // If no endpoint exists
    // 	the lower level of the restlike package returns an error
    //  to the requester.
    // User-defined message handling logic goes here.
    func Callback(request *restlike.Message) (response *restlike.Message) {
    	jww.INFO.Printf("Request received: %v", request)
    	return
    }