id_rpc

package
v0.0.0-...-83425ee Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 5 Imported by: 3

Documentation

Index

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

func (*UniqueId) GetBusinessType

func (m *UniqueId) GetBusinessType() string

func (*UniqueId) GetId

func (m *UniqueId) GetId() uint64

func (*UniqueId) ProtoMessage

func (*UniqueId) ProtoMessage()

func (*UniqueId) Reset

func (m *UniqueId) Reset()

func (*UniqueId) String

func (m *UniqueId) String() string

func (*UniqueId) XXX_DiscardUnknown

func (m *UniqueId) XXX_DiscardUnknown()

func (*UniqueId) XXX_Marshal

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

func (*UniqueId) XXX_Merge

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

func (*UniqueId) XXX_Size

func (m *UniqueId) XXX_Size() int

func (*UniqueId) XXX_Unmarshal

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

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.

Jump to

Keyboard shortcuts

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