service

package
v0.10.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server binds all sdk functions.

func NewServer

func NewServer(sdk *sdk.SDK) *Server

NewServer creates a new Server.

func (*Server) EmitEvent

func (s *Server) EmitEvent(context context.Context, request *serviceapi.EmitEventRequest) (*serviceapi.EmitEventReply, error)

EmitEvent permits to send and event to anyone who subscribed to it.

func (*Server) ListenTask

ListenTask creates a stream that will send data for every task to execute.

func (*Server) SubmitResult

func (s *Server) SubmitResult(context context.Context, request *serviceapi.SubmitResultRequest) (*serviceapi.SubmitResultReply, error)

SubmitResult submits results of an execution.

Jump to

Keyboard shortcuts

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