v1

package
v0.0.0-...-6cb77cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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.

type Task

type Task = apiV1.Task

Task is message to be sent to invokee.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL