Select Git revision
E2EPartitionSize.swift
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
}