pack_a

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: MIT Imports: 9 Imported by: 0

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.

type EnvironmentServer

type EnvironmentServer interface {
	MyJuiceService(context.Context, *common.Void) (*Juice, error)
}

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

Deprecated: Use Juice.ProtoReflect.Descriptor instead.

func (*Juice) GetYummy

func (x *Juice) GetYummy() string

func (*Juice) ProtoMessage

func (*Juice) ProtoMessage()

func (*Juice) ProtoReflect

func (x *Juice) ProtoReflect() protoreflect.Message

func (*Juice) Reset

func (x *Juice) Reset()

func (*Juice) String

func (x *Juice) String() string

type UnimplementedEnvironmentServer

type UnimplementedEnvironmentServer struct {
}

UnimplementedEnvironmentServer can be embedded to have forward compatible implementations.

func (*UnimplementedEnvironmentServer) MyJuiceService

Jump to

Keyboard shortcuts

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