snowflake

package
v0.1.3-0...-ff4d5da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*NextIDReq) ProtoMessage

func (*NextIDReq) ProtoMessage()

func (*NextIDReq) Reset

func (m *NextIDReq) Reset()

func (*NextIDReq) String

func (m *NextIDReq) String() string

func (*NextIDReq) XXX_DiscardUnknown

func (m *NextIDReq) XXX_DiscardUnknown()

func (*NextIDReq) XXX_Marshal

func (m *NextIDReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NextIDReq) XXX_Merge

func (m *NextIDReq) XXX_Merge(src proto.Message)

func (*NextIDReq) XXX_Size

func (m *NextIDReq) XXX_Size() int

func (*NextIDReq) XXX_Unmarshal

func (m *NextIDReq) XXX_Unmarshal(b []byte) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL