rpc

package
v0.0.0-...-455f444 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectToRPCServer

func ConnectToRPCServer(host string, port int) api.UpdateConfigServiceClient

func StartRPCServer

func StartRPCServer(port int, configUpdates chan *api.WorkerConfig)

Types

type Server

type Server struct {
	api.UnimplementedUpdateConfigServiceServer
	// contains filtered or unexported fields
}

func (*Server) UpdateConfig

func (s *Server) UpdateConfig(ctx context.Context, config *api.WorkerConfig) (*api.WorkerReply, error)

Jump to

Keyboard shortcuts

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