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