Versions in this module Expand all Collapse all v1 v1.0.1 Oct 4, 2019 Changes in this version type Client + func NewJsonClient(host string, port int) *Client + func NewProtobufClient(host string, port int) *Client v1.0.0 Sep 30, 2019 Changes in this version + const Json + const Protobuf + type Client struct + func NewClient(config *Config) *Client + func (cli *Client) NextId() int64 + func (cli *Client) NextIds(n int) []int64 + type Config struct + Host string + Port int + ResponseType string + type IdList struct + Ids []int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*IdList) Descriptor() ([]byte, []int) + func (*IdList) ProtoMessage() + func (m *IdList) GetIds() []int64 + func (m *IdList) Reset() + func (m *IdList) String() string + func (m *IdList) XXX_DiscardUnknown() + func (m *IdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *IdList) XXX_Merge(src proto.Message) + func (m *IdList) XXX_Size() int + func (m *IdList) XXX_Unmarshal(b []byte) error