Versions in this module Expand all Collapse all v2 v2.3.3 Mar 12, 2021 Changes in this version + var File_proto_system_system_proto protoreflect.FileDescriptor + var Request_OperationCode_name = map[int32]string + var Request_OperationCode_value = map[string]int32 + func NewSystemEndpoints() []*api.Endpoint + func RegisterSystemHandler(s server.Server, hdlr SystemHandler, opts ...server.HandlerOption) error + type ParamReq struct + func (*ParamReq) Descriptor() ([]byte, []int) + func (*ParamReq) ProtoMessage() + func (x *ParamReq) ProtoReflect() protoreflect.Message + func (x *ParamReq) Reset() + func (x *ParamReq) String() string + type Params struct + IgnoreReply bool + ServerIp string + ServerPort uint32 + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (x *Params) GetIgnoreReply() bool + func (x *Params) GetServerIp() string + func (x *Params) GetServerPort() uint32 + func (x *Params) ProtoReflect() protoreflect.Message + func (x *Params) Reset() + func (x *Params) String() string + type Request struct + Code Request_OperationCode + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (x *Request) GetCode() Request_OperationCode + func (x *Request) ProtoReflect() protoreflect.Message + func (x *Request) Reset() + func (x *Request) String() string + type Request_OperationCode int32 + const Request_Restart + const Request_Start + const Request_Stop + func (Request_OperationCode) Descriptor() protoreflect.EnumDescriptor + func (Request_OperationCode) EnumDescriptor() ([]byte, []int) + func (Request_OperationCode) Type() protoreflect.EnumType + func (x Request_OperationCode) Enum() *Request_OperationCode + func (x Request_OperationCode) Number() protoreflect.EnumNumber + func (x Request_OperationCode) String() string + type Response struct + Message string + Res bool + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetMessage() string + func (x *Response) GetRes() bool + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type SystemHandler interface + GetParam func(context.Context, *ParamReq, *Params) error + SystemOperation func(context.Context, *Request, *Response) error + UpdateParam func(context.Context, *Params, *Response) error + type SystemService interface + GetParam func(ctx context.Context, in *ParamReq, opts ...client.CallOption) (*Params, error) + SystemOperation func(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error) + UpdateParam func(ctx context.Context, in *Params, opts ...client.CallOption) (*Response, error) + func NewSystemService(name string, c client.Client) SystemService