Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvokeeAPIServer ¶
func NewInvokeeAPIServer(h InvokeeAPIServerHandle) (s apiV1.InvokeeServer)
NewInvokeeAPIServer creates API server for Invokee service.
Types ¶
type InvokeeAPIServerHandle ¶
type InvokeeAPIServerHandle interface { Connected(context.Context, *net.TCPAddr, chan<- Task) error Disconnected(*net.TCPAddr) Reported(*ReportRequest) error HandoverRequested(*net.TCPAddr) error }
InvokeeAPIServerHandle hadles server events.
type ReportRequest ¶
type ReportRequest = apiV1.ReportRequest
ReportRequest is the result of invocation from the invokee.
Click to show internal directories.
Click to hide internal directories.