Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_pack_a_a_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEnvironmentServer ¶
func RegisterEnvironmentServer(s *grpc.Server, srv EnvironmentServer)
Types ¶
type EnvironmentClient ¶
type EnvironmentClient interface {
MyJuiceService(ctx context.Context, in *common.Void, opts ...grpc.CallOption) (*Juice, error)
}
EnvironmentClient is the client API for Environment service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEnvironmentClient ¶
func NewEnvironmentClient(cc grpc.ClientConnInterface) EnvironmentClient
type EnvironmentServer ¶
EnvironmentServer is the server API for Environment service.
type Juice ¶
type Juice struct { Yummy string `protobuf:"bytes,1,opt,name=yummy,proto3" json:"yummy,omitempty"` // contains filtered or unexported fields }
func (*Juice) Descriptor
deprecated
func (*Juice) ProtoMessage ¶
func (*Juice) ProtoMessage()
func (*Juice) ProtoReflect ¶
func (x *Juice) ProtoReflect() protoreflect.Message
type UnimplementedEnvironmentServer ¶
type UnimplementedEnvironmentServer struct { }
UnimplementedEnvironmentServer can be embedded to have forward compatible implementations.
func (*UnimplementedEnvironmentServer) MyJuiceService ¶
Click to show internal directories.
Click to hide internal directories.