Versions in this module Expand all Collapse all v1 v1.0.0 Jul 12, 2021 Changes in this version + func RegisterProductInfoServer(s *grpc.Server, srv ProductInfoServer) + type Product struct + Description string + Id string + Name string + Price float32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Product) Descriptor() ([]byte, []int) + func (*Product) ProtoMessage() + func (m *Product) GetDescription() string + func (m *Product) GetId() string + func (m *Product) GetName() string + func (m *Product) GetPrice() float32 + func (m *Product) Reset() + func (m *Product) String() string + func (m *Product) XXX_DiscardUnknown() + func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Product) XXX_Merge(src proto.Message) + func (m *Product) XXX_Size() int + func (m *Product) XXX_Unmarshal(b []byte) error + type ProductInfoClient interface + AddProduct func(ctx context.Context, in *Product, opts ...grpc.CallOption) (*wrappers.StringValue, error) + GetProduct func(ctx context.Context, in *wrappers.StringValue, opts ...grpc.CallOption) (*Product, error) + func NewProductInfoClient(cc *grpc.ClientConn) ProductInfoClient + type ProductInfoServer interface + AddProduct func(context.Context, *Product) (*wrappers.StringValue, error) + GetProduct func(context.Context, *wrappers.StringValue) (*Product, error)