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)
Click to show internal directories.
Click to hide internal directories.