Documentation ¶
Index ¶
- Variables
- func BetasToNative(in []*Beta) []*model.Beta
- func RegisterBetaServiceServer(s *grpc.Server, srv BetaServiceServer)
- type Beta
- func (*Beta) Descriptor() ([]byte, []int)deprecated
- func (m *Beta) FromNative(n *model.Beta) *Beta
- func (x *Beta) GetDone() bool
- func (x *Beta) GetFeature() string
- func (x *Beta) GetUniqueID() string
- func (*Beta) ProtoMessage()
- func (x *Beta) ProtoReflect() protoreflect.Message
- func (x *Beta) Reset()
- func (x *Beta) String() string
- func (m *Beta) ToNative() *model.Beta
- type BetaFilter
- func (*BetaFilter) Descriptor() ([]byte, []int)deprecated
- func (x *BetaFilter) GetBetaID() []string
- func (x *BetaFilter) GetRequestParams() *RequestParams
- func (x *BetaFilter) GetRequestQuery() map[string]string
- func (*BetaFilter) ProtoMessage()
- func (x *BetaFilter) ProtoReflect() protoreflect.Message
- func (x *BetaFilter) Reset()
- func (x *BetaFilter) String() string
- type BetaInput
- func (*BetaInput) Descriptor() ([]byte, []int)deprecated
- func (x *BetaInput) GetBetas() []*Beta
- func (x *BetaInput) GetRequestParams() *RequestParams
- func (*BetaInput) ProtoMessage()
- func (x *BetaInput) ProtoReflect() protoreflect.Message
- func (x *BetaInput) Reset()
- func (x *BetaInput) String() string
- type BetaResponse
- func (*BetaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BetaResponse) GetBetas() []*Beta
- func (x *BetaResponse) GetCount() int64
- func (*BetaResponse) ProtoMessage()
- func (x *BetaResponse) ProtoReflect() protoreflect.Message
- func (x *BetaResponse) Reset()
- func (x *BetaResponse) String() string
- type BetaServiceClient
- type BetaServiceServer
- type RequestParams
- func (*RequestParams) Descriptor() ([]byte, []int)deprecated
- func (m RequestParams) FromNative(n *meta.RequestParams) *RequestParams
- func (x *RequestParams) GetLimit() int32
- func (x *RequestParams) GetOffset() int32
- func (x *RequestParams) GetSortBy() *wrappers.StringValue
- func (x *RequestParams) GetSortDirection() *wrappers.StringValue
- func (*RequestParams) ProtoMessage()
- func (x *RequestParams) ProtoReflect() protoreflect.Message
- func (x *RequestParams) Reset()
- func (x *RequestParams) String() string
- func (m *RequestParams) ToNative() *meta.RequestParams
- type UnimplementedBetaServiceServer
- func (*UnimplementedBetaServiceServer) AddBetas(context.Context, *BetaInput) (*BetaResponse, error)
- func (*UnimplementedBetaServiceServer) CountBetas(context.Context, *BetaFilter) (*BetaResponse, error)
- func (*UnimplementedBetaServiceServer) EditBetas(context.Context, *BetaInput) (*BetaResponse, error)
- func (*UnimplementedBetaServiceServer) GetBetas(context.Context, *BetaFilter) (*BetaResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_beta_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
Functions ¶
func BetasToNative ¶
func RegisterBetaServiceServer ¶
func RegisterBetaServiceServer(s *grpc.Server, srv BetaServiceServer)
Types ¶
type Beta ¶
type Beta struct { UniqueID string `protobuf:"bytes,1,opt,name=uniqueID,proto3" json:"uniqueID,omitempty"` Feature string `protobuf:"bytes,2,opt,name=feature,proto3" json:"feature,omitempty"` Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` // contains filtered or unexported fields }
func NativeToBetas ¶
func (*Beta) Descriptor
deprecated
func (*Beta) GetFeature ¶
func (*Beta) GetUniqueID ¶
func (*Beta) ProtoMessage ¶
func (*Beta) ProtoMessage()
func (*Beta) ProtoReflect ¶
func (x *Beta) ProtoReflect() protoreflect.Message
type BetaFilter ¶
type BetaFilter struct { BetaID []string `protobuf:"bytes,1,rep,name=BetaID,proto3" json:"BetaID,omitempty"` RequestQuery map[string]string `` /* 165-byte string literal not displayed */ RequestParams *RequestParams `protobuf:"bytes,3,opt,name=RequestParams,proto3" json:"RequestParams,omitempty"` // contains filtered or unexported fields }
func (*BetaFilter) Descriptor
deprecated
func (*BetaFilter) Descriptor() ([]byte, []int)
Deprecated: Use BetaFilter.ProtoReflect.Descriptor instead.
func (*BetaFilter) GetBetaID ¶
func (x *BetaFilter) GetBetaID() []string
func (*BetaFilter) GetRequestParams ¶
func (x *BetaFilter) GetRequestParams() *RequestParams
func (*BetaFilter) GetRequestQuery ¶
func (x *BetaFilter) GetRequestQuery() map[string]string
func (*BetaFilter) ProtoMessage ¶
func (*BetaFilter) ProtoMessage()
func (*BetaFilter) ProtoReflect ¶
func (x *BetaFilter) ProtoReflect() protoreflect.Message
func (*BetaFilter) Reset ¶
func (x *BetaFilter) Reset()
func (*BetaFilter) String ¶
func (x *BetaFilter) String() string
type BetaInput ¶
type BetaInput struct { Betas []*Beta `protobuf:"bytes,1,rep,name=Betas,proto3" json:"Betas,omitempty"` RequestParams *RequestParams `protobuf:"bytes,2,opt,name=RequestParams,proto3" json:"RequestParams,omitempty"` // contains filtered or unexported fields }
func (*BetaInput) Descriptor
deprecated
func (*BetaInput) GetRequestParams ¶
func (x *BetaInput) GetRequestParams() *RequestParams
func (*BetaInput) ProtoMessage ¶
func (*BetaInput) ProtoMessage()
func (*BetaInput) ProtoReflect ¶
func (x *BetaInput) ProtoReflect() protoreflect.Message
type BetaResponse ¶
type BetaResponse struct { Betas []*Beta `protobuf:"bytes,1,rep,name=Betas,proto3" json:"Betas,omitempty"` Count int64 `protobuf:"varint,2,opt,name=Count,proto3" json:"Count,omitempty"` // contains filtered or unexported fields }
func (*BetaResponse) Descriptor
deprecated
func (*BetaResponse) Descriptor() ([]byte, []int)
Deprecated: Use BetaResponse.ProtoReflect.Descriptor instead.
func (*BetaResponse) GetBetas ¶
func (x *BetaResponse) GetBetas() []*Beta
func (*BetaResponse) GetCount ¶
func (x *BetaResponse) GetCount() int64
func (*BetaResponse) ProtoMessage ¶
func (*BetaResponse) ProtoMessage()
func (*BetaResponse) ProtoReflect ¶
func (x *BetaResponse) ProtoReflect() protoreflect.Message
func (*BetaResponse) Reset ¶
func (x *BetaResponse) Reset()
func (*BetaResponse) String ¶
func (x *BetaResponse) String() string
type BetaServiceClient ¶
type BetaServiceClient interface { GetBetas(ctx context.Context, in *BetaFilter, opts ...grpc.CallOption) (*BetaResponse, error) CountBetas(ctx context.Context, in *BetaFilter, opts ...grpc.CallOption) (*BetaResponse, error) AddBetas(ctx context.Context, in *BetaInput, opts ...grpc.CallOption) (*BetaResponse, error) EditBetas(ctx context.Context, in *BetaInput, opts ...grpc.CallOption) (*BetaResponse, error) }
BetaServiceClient is the client API for BetaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBetaServiceClient ¶
func NewBetaServiceClient(cc grpc.ClientConnInterface) BetaServiceClient
type BetaServiceServer ¶
type BetaServiceServer interface { GetBetas(context.Context, *BetaFilter) (*BetaResponse, error) CountBetas(context.Context, *BetaFilter) (*BetaResponse, error) AddBetas(context.Context, *BetaInput) (*BetaResponse, error) EditBetas(context.Context, *BetaInput) (*BetaResponse, error) }
BetaServiceServer is the server API for BetaService service.
type RequestParams ¶
type RequestParams struct { Limit int32 `protobuf:"varint,1,opt,name=Limit,proto3" json:"Limit,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=Offset,proto3" json:"Offset,omitempty"` SortBy *wrappers.StringValue `protobuf:"bytes,3,opt,name=SortBy,proto3" json:"SortBy,omitempty"` SortDirection *wrappers.StringValue `protobuf:"bytes,4,opt,name=SortDirection,proto3" json:"SortDirection,omitempty"` // contains filtered or unexported fields }
func (*RequestParams) Descriptor
deprecated
func (*RequestParams) Descriptor() ([]byte, []int)
Deprecated: Use RequestParams.ProtoReflect.Descriptor instead.
func (RequestParams) FromNative ¶
func (m RequestParams) FromNative(n *meta.RequestParams) *RequestParams
func (*RequestParams) GetLimit ¶
func (x *RequestParams) GetLimit() int32
func (*RequestParams) GetOffset ¶
func (x *RequestParams) GetOffset() int32
func (*RequestParams) GetSortBy ¶
func (x *RequestParams) GetSortBy() *wrappers.StringValue
func (*RequestParams) GetSortDirection ¶
func (x *RequestParams) GetSortDirection() *wrappers.StringValue
func (*RequestParams) ProtoMessage ¶
func (*RequestParams) ProtoMessage()
func (*RequestParams) ProtoReflect ¶
func (x *RequestParams) ProtoReflect() protoreflect.Message
func (*RequestParams) Reset ¶
func (x *RequestParams) Reset()
func (*RequestParams) String ¶
func (x *RequestParams) String() string
func (*RequestParams) ToNative ¶
func (m *RequestParams) ToNative() *meta.RequestParams
type UnimplementedBetaServiceServer ¶
type UnimplementedBetaServiceServer struct { }
UnimplementedBetaServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBetaServiceServer) AddBetas ¶
func (*UnimplementedBetaServiceServer) AddBetas(context.Context, *BetaInput) (*BetaResponse, error)
func (*UnimplementedBetaServiceServer) CountBetas ¶
func (*UnimplementedBetaServiceServer) CountBetas(context.Context, *BetaFilter) (*BetaResponse, error)
func (*UnimplementedBetaServiceServer) EditBetas ¶
func (*UnimplementedBetaServiceServer) EditBetas(context.Context, *BetaInput) (*BetaResponse, error)
func (*UnimplementedBetaServiceServer) GetBetas ¶
func (*UnimplementedBetaServiceServer) GetBetas(context.Context, *BetaFilter) (*BetaResponse, error)
Click to show internal directories.
Click to hide internal directories.