Versions in this module Expand all Collapse all v2 v2.3.3 Mar 12, 2021 Changes in this version + var File_proto_script_script_proto protoreflect.FileDescriptor + func NewScriptServiceEndpoints() []*api.Endpoint + func RegisterScriptServiceHandler(s server.Server, hdlr ScriptServiceHandler, opts ...server.HandlerOption) error + type Nop struct + func (*Nop) Descriptor() ([]byte, []int) + func (*Nop) ProtoMessage() + func (x *Nop) ProtoReflect() protoreflect.Message + func (x *Nop) Reset() + func (x *Nop) String() string + type Query struct + Filter *ScriptFilter + Limit uint32 + Offset uint32 + Page uint32 + PerPage uint32 + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (x *Query) GetFilter() *ScriptFilter + func (x *Query) GetLimit() uint32 + func (x *Query) GetOffset() uint32 + func (x *Query) GetPage() uint32 + func (x *Query) GetPerPage() uint32 + func (x *Query) ProtoReflect() protoreflect.Message + func (x *Query) Reset() + func (x *Query) String() string + type Response struct + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string + type Script struct + CancelFunc string + Content string + Description string + Id uint32 + Name string + func (*Script) Descriptor() ([]byte, []int) + func (*Script) ProtoMessage() + func (x *Script) GetCancelFunc() string + func (x *Script) GetContent() string + func (x *Script) GetDescription() string + func (x *Script) GetId() uint32 + func (x *Script) GetName() string + func (x *Script) ProtoReflect() protoreflect.Message + func (x *Script) Reset() + func (x *Script) String() string + type ScriptFilter struct + And []*ScriptFilter + Id *wrappers.Int32Value + IdIn []int32 + Name *wrappers.StringValue + NameIn []string + Or []*ScriptFilter + func (*ScriptFilter) Descriptor() ([]byte, []int) + func (*ScriptFilter) ProtoMessage() + func (x *ScriptFilter) GetAnd() []*ScriptFilter + func (x *ScriptFilter) GetId() *wrappers.Int32Value + func (x *ScriptFilter) GetIdIn() []int32 + func (x *ScriptFilter) GetName() *wrappers.StringValue + func (x *ScriptFilter) GetNameIn() []string + func (x *ScriptFilter) GetOr() []*ScriptFilter + func (x *ScriptFilter) ProtoReflect() protoreflect.Message + func (x *ScriptFilter) Reset() + func (x *ScriptFilter) String() string + type ScriptIndex struct + Id uint32 + func (*ScriptIndex) Descriptor() ([]byte, []int) + func (*ScriptIndex) ProtoMessage() + func (x *ScriptIndex) GetId() uint32 + func (x *ScriptIndex) ProtoReflect() protoreflect.Message + func (x *ScriptIndex) Reset() + func (x *ScriptIndex) String() string + type ScriptService interface + AddScript func(ctx context.Context, in *Script, opts ...client.CallOption) (*Response, error) + DeleteScript func(ctx context.Context, in *ScriptIndex, opts ...client.CallOption) (*Response, error) + GetNextScriptID func(ctx context.Context, in *Nop, opts ...client.CallOption) (*ScriptIndex, error) + GetScript func(ctx context.Context, in *ScriptIndex, opts ...client.CallOption) (*Script, error) + GetScripts func(ctx context.Context, in *Query, opts ...client.CallOption) (*Scripts, error) + UpdateScript func(ctx context.Context, in *UpdateScriptReq, opts ...client.CallOption) (*Response, error) + func NewScriptService(name string, c client.Client) ScriptService + type ScriptServiceHandler interface + AddScript func(context.Context, *Script, *Response) error + DeleteScript func(context.Context, *ScriptIndex, *Response) error + GetNextScriptID func(context.Context, *Nop, *ScriptIndex) error + GetScript func(context.Context, *ScriptIndex, *Script) error + GetScripts func(context.Context, *Query, *Scripts) error + UpdateScript func(context.Context, *UpdateScriptReq, *Response) error + type Scripts struct + Currpages uint32 + Scripts []*Script + Totalpages uint32 + Totals uint32 + func (*Scripts) Descriptor() ([]byte, []int) + func (*Scripts) ProtoMessage() + func (x *Scripts) GetCurrpages() uint32 + func (x *Scripts) GetScripts() []*Script + func (x *Scripts) GetTotalpages() uint32 + func (x *Scripts) GetTotals() uint32 + func (x *Scripts) ProtoReflect() protoreflect.Message + func (x *Scripts) Reset() + func (x *Scripts) String() string + type UpdateScript struct + CancelFunc *wrappers.StringValue + Content *wrappers.StringValue + Description *wrappers.StringValue + Id *wrappers.Int32Value + Name *wrappers.StringValue + func (*UpdateScript) Descriptor() ([]byte, []int) + func (*UpdateScript) ProtoMessage() + func (x *UpdateScript) GetCancelFunc() *wrappers.StringValue + func (x *UpdateScript) GetContent() *wrappers.StringValue + func (x *UpdateScript) GetDescription() *wrappers.StringValue + func (x *UpdateScript) GetId() *wrappers.Int32Value + func (x *UpdateScript) GetName() *wrappers.StringValue + func (x *UpdateScript) ProtoReflect() protoreflect.Message + func (x *UpdateScript) Reset() + func (x *UpdateScript) String() string + type UpdateScriptReq struct + Id uint32 + Update *UpdateScript + func (*UpdateScriptReq) Descriptor() ([]byte, []int) + func (*UpdateScriptReq) ProtoMessage() + func (x *UpdateScriptReq) GetId() uint32 + func (x *UpdateScriptReq) GetUpdate() *UpdateScript + func (x *UpdateScriptReq) ProtoReflect() protoreflect.Message + func (x *UpdateScriptReq) Reset() + func (x *UpdateScriptReq) String() string