Documentation ¶
Index ¶
- func RegisterUniqueIdServiceServer(s *grpc.Server, srv UniqueIdServiceServer)
- type BusinessType
- func (*BusinessType) Descriptor() ([]byte, []int)
- func (m *BusinessType) GetName() string
- func (*BusinessType) ProtoMessage()
- func (m *BusinessType) Reset()
- func (m *BusinessType) String() string
- func (m *BusinessType) XXX_DiscardUnknown()
- func (m *BusinessType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BusinessType) XXX_Merge(src proto.Message)
- func (m *BusinessType) XXX_Size() int
- func (m *BusinessType) XXX_Unmarshal(b []byte) error
- type UniqueId
- func (*UniqueId) Descriptor() ([]byte, []int)
- func (m *UniqueId) GetBusinessType() string
- func (m *UniqueId) GetId() uint64
- func (*UniqueId) ProtoMessage()
- func (m *UniqueId) Reset()
- func (m *UniqueId) String() string
- func (m *UniqueId) XXX_DiscardUnknown()
- func (m *UniqueId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniqueId) XXX_Merge(src proto.Message)
- func (m *UniqueId) XXX_Size() int
- func (m *UniqueId) XXX_Unmarshal(b []byte) error
- type UniqueIdServiceClient
- type UniqueIdServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUniqueIdServiceServer ¶
func RegisterUniqueIdServiceServer(s *grpc.Server, srv UniqueIdServiceServer)
Types ¶
type BusinessType ¶
type BusinessType struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BusinessType) Descriptor ¶
func (*BusinessType) Descriptor() ([]byte, []int)
func (*BusinessType) GetName ¶
func (m *BusinessType) GetName() string
func (*BusinessType) ProtoMessage ¶
func (*BusinessType) ProtoMessage()
func (*BusinessType) Reset ¶
func (m *BusinessType) Reset()
func (*BusinessType) String ¶
func (m *BusinessType) String() string
func (*BusinessType) XXX_DiscardUnknown ¶
func (m *BusinessType) XXX_DiscardUnknown()
func (*BusinessType) XXX_Marshal ¶
func (m *BusinessType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BusinessType) XXX_Merge ¶
func (m *BusinessType) XXX_Merge(src proto.Message)
func (*BusinessType) XXX_Size ¶
func (m *BusinessType) XXX_Size() int
func (*BusinessType) XXX_Unmarshal ¶
func (m *BusinessType) XXX_Unmarshal(b []byte) error
type UniqueId ¶
type UniqueId struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` BusinessType string `protobuf:"bytes,2,opt,name=business_type,json=businessType,proto3" json:"business_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UniqueId) Descriptor ¶
func (*UniqueId) GetBusinessType ¶
func (*UniqueId) ProtoMessage ¶
func (*UniqueId) ProtoMessage()
func (*UniqueId) XXX_DiscardUnknown ¶
func (m *UniqueId) XXX_DiscardUnknown()
func (*UniqueId) XXX_Marshal ¶
func (*UniqueId) XXX_Unmarshal ¶
type UniqueIdServiceClient ¶
type UniqueIdServiceClient interface {
MakeUniqueId(ctx context.Context, in *BusinessType, opts ...grpc.CallOption) (*UniqueId, error)
}
UniqueIdServiceClient is the client API for UniqueIdService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUniqueIdServiceClient ¶
func NewUniqueIdServiceClient(cc *grpc.ClientConn) UniqueIdServiceClient
type UniqueIdServiceServer ¶
type UniqueIdServiceServer interface {
MakeUniqueId(context.Context, *BusinessType) (*UniqueId, error)
}
UniqueIdServiceServer is the server API for UniqueIdService service.
Click to show internal directories.
Click to hide internal directories.