Versions in this module Expand all Collapse all v2 v2.3.3 Mar 12, 2021 Changes in this version + var File_proto_lpr_lpr_proto protoreflect.FileDescriptor + func NewLprServiceEndpoints() []*api.Endpoint + func RegisterLprServiceHandler(s server.Server, hdlr LprServiceHandler, opts ...server.HandlerOption) error + type IDReq struct + Id int32 + func (*IDReq) Descriptor() ([]byte, []int) + func (*IDReq) ProtoMessage() + func (x *IDReq) GetId() int32 + func (x *IDReq) ProtoReflect() protoreflect.Message + func (x *IDReq) Reset() + func (x *IDReq) String() string + type License struct + Id int32 + License string + func (*License) Descriptor() ([]byte, []int) + func (*License) ProtoMessage() + func (x *License) GetId() int32 + func (x *License) GetLicense() string + func (x *License) ProtoReflect() protoreflect.Message + func (x *License) Reset() + func (x *License) String() string + type Licenses struct + Lprs []*License + Totalpages uint32 + Totals uint32 + func (*Licenses) Descriptor() ([]byte, []int) + func (*Licenses) ProtoMessage() + func (x *Licenses) GetLprs() []*License + func (x *Licenses) GetTotalpages() uint32 + func (x *Licenses) GetTotals() uint32 + func (x *Licenses) ProtoReflect() protoreflect.Message + func (x *Licenses) Reset() + func (x *Licenses) String() string + type LogLevelRequest struct + func (*LogLevelRequest) Descriptor() ([]byte, []int) + func (*LogLevelRequest) ProtoMessage() + func (x *LogLevelRequest) ProtoReflect() protoreflect.Message + func (x *LogLevelRequest) Reset() + func (x *LogLevelRequest) String() string + type LogResponse struct + Name string + func (*LogResponse) Descriptor() ([]byte, []int) + func (*LogResponse) ProtoMessage() + func (x *LogResponse) GetName() string + func (x *LogResponse) ProtoReflect() protoreflect.Message + func (x *LogResponse) Reset() + func (x *LogResponse) String() string + type Loglevel struct + Level uint32 + Name string + func (*Loglevel) Descriptor() ([]byte, []int) + func (*Loglevel) ProtoMessage() + func (x *Loglevel) GetLevel() uint32 + func (x *Loglevel) GetName() string + func (x *Loglevel) ProtoReflect() protoreflect.Message + func (x *Loglevel) Reset() + func (x *Loglevel) String() string + type Lpr struct + Description string + Id int32 + Ip string + LicensePlate string + Name string + Port int32 + Status bool + Time string + func (*Lpr) Descriptor() ([]byte, []int) + func (*Lpr) ProtoMessage() + func (x *Lpr) GetDescription() string + func (x *Lpr) GetId() int32 + func (x *Lpr) GetIp() string + func (x *Lpr) GetLicensePlate() string + func (x *Lpr) GetName() string + func (x *Lpr) GetPort() int32 + func (x *Lpr) GetStatus() bool + func (x *Lpr) GetTime() string + func (x *Lpr) ProtoReflect() protoreflect.Message + func (x *Lpr) Reset() + func (x *Lpr) String() string + type LprFilter struct + And []*LprFilter + IdIn []uint32 + IpIn []string + Name *wrappers.StringValue + NameIn []string + Or []*LprFilter + PortIn []uint32 + func (*LprFilter) Descriptor() ([]byte, []int) + func (*LprFilter) ProtoMessage() + func (x *LprFilter) GetAnd() []*LprFilter + func (x *LprFilter) GetIdIn() []uint32 + func (x *LprFilter) GetIpIn() []string + func (x *LprFilter) GetName() *wrappers.StringValue + func (x *LprFilter) GetNameIn() []string + func (x *LprFilter) GetOr() []*LprFilter + func (x *LprFilter) GetPortIn() []uint32 + func (x *LprFilter) ProtoReflect() protoreflect.Message + func (x *LprFilter) Reset() + func (x *LprFilter) String() string + type LprRequest struct + Description string + Id int32 + Ip string + Name string + Port int32 + func (*LprRequest) Descriptor() ([]byte, []int) + func (*LprRequest) ProtoMessage() + func (x *LprRequest) GetDescription() string + func (x *LprRequest) GetId() int32 + func (x *LprRequest) GetIp() string + func (x *LprRequest) GetName() string + func (x *LprRequest) GetPort() int32 + func (x *LprRequest) ProtoReflect() protoreflect.Message + func (x *LprRequest) Reset() + func (x *LprRequest) String() string + type LprRequests struct + Lprs []*LprRequest + func (*LprRequests) Descriptor() ([]byte, []int) + func (*LprRequests) ProtoMessage() + func (x *LprRequests) GetLprs() []*LprRequest + func (x *LprRequests) ProtoReflect() protoreflect.Message + func (x *LprRequests) Reset() + func (x *LprRequests) String() string + type LprService interface + AddLpr func(ctx context.Context, in *LprRequest, opts ...client.CallOption) (*Response, error) + AddLprs func(ctx context.Context, in *LprRequests, opts ...client.CallOption) (*Response, error) + ClearLicense func(ctx context.Context, in *IDReq, opts ...client.CallOption) (*License, error) + Close func(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error) + ConfigLpr func(ctx context.Context, in *LprRequest, opts ...client.CallOption) (*Response, error) + DeleteLpr func(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error) + GetLicense func(ctx context.Context, in *IDReq, opts ...client.CallOption) (*License, error) + GetLicenses func(ctx context.Context, in *Query, opts ...client.CallOption) (*Licenses, error) + GetLogLevel func(ctx context.Context, in *LogLevelRequest, opts ...client.CallOption) (*Loglevel, error) + GetLprs func(ctx context.Context, in *Query, opts ...client.CallOption) (*Lprs, error) + LprStream func(ctx context.Context, opts ...client.CallOption) (LprService_LprStreamService, error) + LprsStream func(ctx context.Context, in *LprRequest, opts ...client.CallOption) (LprService_LprsStreamService, error) + SetLogLevel func(ctx context.Context, in *Loglevel, opts ...client.CallOption) (*LogResponse, error) + Start func(ctx context.Context, in *IDReq, opts ...client.CallOption) (*Response, error) + func NewLprService(name string, c client.Client) LprService + type LprServiceHandler interface + AddLpr func(context.Context, *LprRequest, *Response) error + AddLprs func(context.Context, *LprRequests, *Response) error + ClearLicense func(context.Context, *IDReq, *License) error + Close func(context.Context, *IDReq, *Response) error + ConfigLpr func(context.Context, *LprRequest, *Response) error + DeleteLpr func(context.Context, *IDReq, *Response) error + GetLicense func(context.Context, *IDReq, *License) error + GetLicenses func(context.Context, *Query, *Licenses) error + GetLogLevel func(context.Context, *LogLevelRequest, *Loglevel) error + GetLprs func(context.Context, *Query, *Lprs) error + LprStream func(context.Context, LprService_LprStreamStream) error + LprsStream func(context.Context, *LprRequest, LprService_LprsStreamStream) error + SetLogLevel func(context.Context, *Loglevel, *LogResponse) error + Start func(context.Context, *IDReq, *Response) error + type LprService_LprStreamService interface + Close func() error + Context func() context.Context + Recv func() (*LprStreamResponse, error) + RecvMsg func(interface{}) error + Send func(*LprRequest) error + SendMsg func(interface{}) error + type LprService_LprStreamStream interface + Close func() error + Context func() context.Context + Recv func() (*LprRequest, error) + RecvMsg func(interface{}) error + Send func(*LprStreamResponse) error + SendMsg func(interface{}) error + type LprService_LprsStreamService interface + Close func() error + Context func() context.Context + Recv func() (*LprStreamResponse, error) + RecvMsg func(interface{}) error + SendMsg func(interface{}) error + type LprService_LprsStreamStream interface + Close func() error + Context func() context.Context + RecvMsg func(interface{}) error + Send func(*LprStreamResponse) error + SendMsg func(interface{}) error + type LprStreamResponse struct + Id int32 + Images string + func (*LprStreamResponse) Descriptor() ([]byte, []int) + func (*LprStreamResponse) ProtoMessage() + func (x *LprStreamResponse) GetId() int32 + func (x *LprStreamResponse) GetImages() string + func (x *LprStreamResponse) ProtoReflect() protoreflect.Message + func (x *LprStreamResponse) Reset() + func (x *LprStreamResponse) String() string + type Lprs struct + Currpages uint32 + Lprs []*Lpr + Totalpages uint32 + Totals uint32 + func (*Lprs) Descriptor() ([]byte, []int) + func (*Lprs) ProtoMessage() + func (x *Lprs) GetCurrpages() uint32 + func (x *Lprs) GetLprs() []*Lpr + func (x *Lprs) GetTotalpages() uint32 + func (x *Lprs) GetTotals() uint32 + func (x *Lprs) ProtoReflect() protoreflect.Message + func (x *Lprs) Reset() + func (x *Lprs) String() string + type Query struct + Filter *LprFilter + Limit uint32 + Offset uint32 + Page uint32 + PerPage uint32 + func (*Query) Descriptor() ([]byte, []int) + func (*Query) ProtoMessage() + func (x *Query) GetFilter() *LprFilter + 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 + Id int32 + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (x *Response) GetId() int32 + func (x *Response) ProtoReflect() protoreflect.Message + func (x *Response) Reset() + func (x *Response) String() string