Versions in this module Expand all Collapse all v0 v0.0.2 Mar 14, 2020 Changes in this version + func RegisterBoxFactoryServer(s *grpc.Server, srv BoxFactoryServer) + type BoolValue struct + Value bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BoolValue) Descriptor() ([]byte, []int) + func (*BoolValue) ProtoMessage() + func (m *BoolValue) GetValue() bool + func (m *BoolValue) Reset() + func (m *BoolValue) String() string + func (m *BoolValue) XXX_DiscardUnknown() + func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BoolValue) XXX_Merge(src proto.Message) + func (m *BoolValue) XXX_Size() int + func (m *BoolValue) XXX_Unmarshal(b []byte) error + type BoxFactoryClient interface + GetBoxes func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Boxes, error) + MakeBox func(ctx context.Context, in *BoxSpecification, opts ...grpc.CallOption) (*Empty, error) + Status func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*StatusMessage, error) + func NewBoxFactoryClient(cc *grpc.ClientConn) BoxFactoryClient + type BoxFactoryServer interface + GetBoxes func(context.Context, *Empty) (*Boxes, error) + MakeBox func(context.Context, *BoxSpecification) (*Empty, error) + Status func(context.Context, *Empty) (*StatusMessage, error) + type BoxSpecification struct + Depth int32 + Height int32 + Name string + Width int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*BoxSpecification) Descriptor() ([]byte, []int) + func (*BoxSpecification) ProtoMessage() + func (m *BoxSpecification) GetDepth() int32 + func (m *BoxSpecification) GetHeight() int32 + func (m *BoxSpecification) GetName() string + func (m *BoxSpecification) GetWidth() int32 + func (m *BoxSpecification) Reset() + func (m *BoxSpecification) String() string + func (m *BoxSpecification) XXX_DiscardUnknown() + func (m *BoxSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BoxSpecification) XXX_Merge(src proto.Message) + func (m *BoxSpecification) XXX_Size() int + func (m *BoxSpecification) XXX_Unmarshal(b []byte) error + type Boxes struct + Boxes []*BoxSpecification + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Boxes) Descriptor() ([]byte, []int) + func (*Boxes) ProtoMessage() + func (m *Boxes) GetBoxes() []*BoxSpecification + func (m *Boxes) Reset() + func (m *Boxes) String() string + func (m *Boxes) XXX_DiscardUnknown() + func (m *Boxes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Boxes) XXX_Merge(src proto.Message) + func (m *Boxes) XXX_Size() int + func (m *Boxes) XXX_Unmarshal(b []byte) error + type Empty struct + Page int32 + PerPage int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (m *Empty) GetPage() int32 + func (m *Empty) GetPerPage() int32 + func (m *Empty) Reset() + func (m *Empty) String() string + func (m *Empty) XXX_DiscardUnknown() + func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Empty) XXX_Merge(src proto.Message) + func (m *Empty) XXX_Size() int + func (m *Empty) XXX_Unmarshal(b []byte) error + type StatusMessage struct + Ok bool + ServiceName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StatusMessage) Descriptor() ([]byte, []int) + func (*StatusMessage) ProtoMessage() + func (m *StatusMessage) GetOk() bool + func (m *StatusMessage) GetServiceName() string + func (m *StatusMessage) Reset() + func (m *StatusMessage) String() string + func (m *StatusMessage) XXX_DiscardUnknown() + func (m *StatusMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatusMessage) XXX_Merge(src proto.Message) + func (m *StatusMessage) XXX_Size() int + func (m *StatusMessage) XXX_Unmarshal(b []byte) error + type StringValue struct + Timestamp *timestamp.Timestamp + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StringValue) Descriptor() ([]byte, []int) + func (*StringValue) ProtoMessage() + func (m *StringValue) GetTimestamp() *timestamp.Timestamp + func (m *StringValue) GetValue() string + func (m *StringValue) Reset() + func (m *StringValue) String() string + func (m *StringValue) XXX_DiscardUnknown() + func (m *StringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StringValue) XXX_Merge(src proto.Message) + func (m *StringValue) XXX_Size() int + func (m *StringValue) XXX_Unmarshal(b []byte) error + type UnimplementedBoxFactoryServer struct + func (*UnimplementedBoxFactoryServer) GetBoxes(ctx context.Context, req *Empty) (*Boxes, error) + func (*UnimplementedBoxFactoryServer) MakeBox(ctx context.Context, req *BoxSpecification) (*Empty, error) + func (*UnimplementedBoxFactoryServer) Status(ctx context.Context, req *Empty) (*StatusMessage, error)