advancedpb

package
v0.122.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_advancedgrpc_proto protoreflect.FileDescriptor

Functions

func RegisterAdvancedGrpcServer

func RegisterAdvancedGrpcServer(s *grpc.Server, srv AdvancedGrpcServer)

Types

type AdvancedGrpcClient

type AdvancedGrpcClient interface {
	GetStuff(ctx context.Context, in *GetStuffRequest, opts ...grpc.CallOption) (*GetStuffResponse, error)
	GetStuffToo(ctx context.Context, in *GetStuffRequest, opts ...grpc.CallOption) (*GetStuffResponse, error)
}

AdvancedGrpcClient is the client API for AdvancedGrpc service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type AdvancedGrpcServer

type AdvancedGrpcServer interface {
	GetStuff(context.Context, *GetStuffRequest) (*GetStuffResponse, error)
	GetStuffToo(context.Context, *GetStuffRequest) (*GetStuffResponse, error)
}

AdvancedGrpcServer is the server API for AdvancedGrpc service.

type GetStuffRequest

type GetStuffRequest struct {
	InnerStuff     string `protobuf:"bytes,1,opt,name=innerStuff,proto3" json:"innerStuff,omitempty"`
	SensitiveStuff string `protobuf:"bytes,2,opt,name=sensitiveStuff,proto3" json:"sensitiveStuff,omitempty"`
	TimeStuff      string `protobuf:"bytes,3,opt,name=timeStuff,proto3" json:"timeStuff,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStuffRequest) Descriptor deprecated

func (*GetStuffRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStuffRequest.ProtoReflect.Descriptor instead.

func (*GetStuffRequest) GetInnerStuff

func (x *GetStuffRequest) GetInnerStuff() string

func (*GetStuffRequest) GetSensitiveStuff

func (x *GetStuffRequest) GetSensitiveStuff() string

func (*GetStuffRequest) GetTimeStuff

func (x *GetStuffRequest) GetTimeStuff() string

func (*GetStuffRequest) ProtoMessage

func (*GetStuffRequest) ProtoMessage()

func (*GetStuffRequest) ProtoReflect

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

func (*GetStuffRequest) Reset

func (x *GetStuffRequest) Reset()

func (*GetStuffRequest) String

func (x *GetStuffRequest) String() string

type GetStuffResponse

type GetStuffResponse struct {
	Data []*Item `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStuffResponse) Descriptor deprecated

func (*GetStuffResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStuffResponse.ProtoReflect.Descriptor instead.

func (*GetStuffResponse) GetData

func (x *GetStuffResponse) GetData() []*Item

func (*GetStuffResponse) ProtoMessage

func (*GetStuffResponse) ProtoMessage()

func (*GetStuffResponse) ProtoReflect

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

func (*GetStuffResponse) Reset

func (x *GetStuffResponse) Reset()

func (*GetStuffResponse) String

func (x *GetStuffResponse) String() string

type GetStuffTooRequest

type GetStuffTooRequest struct {
	InnerStuff     string `protobuf:"bytes,1,opt,name=innerStuff,proto3" json:"innerStuff,omitempty"`
	SensitiveStuff string `protobuf:"bytes,2,opt,name=sensitiveStuff,proto3" json:"sensitiveStuff,omitempty"`
	TimeStuff      string `protobuf:"bytes,3,opt,name=timeStuff,proto3" json:"timeStuff,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStuffTooRequest) Descriptor deprecated

func (*GetStuffTooRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStuffTooRequest.ProtoReflect.Descriptor instead.

func (*GetStuffTooRequest) GetInnerStuff

func (x *GetStuffTooRequest) GetInnerStuff() string

func (*GetStuffTooRequest) GetSensitiveStuff

func (x *GetStuffTooRequest) GetSensitiveStuff() string

func (*GetStuffTooRequest) GetTimeStuff

func (x *GetStuffTooRequest) GetTimeStuff() string

func (*GetStuffTooRequest) ProtoMessage

func (*GetStuffTooRequest) ProtoMessage()

func (*GetStuffTooRequest) ProtoReflect

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

func (*GetStuffTooRequest) Reset

func (x *GetStuffTooRequest) Reset()

func (*GetStuffTooRequest) String

func (x *GetStuffTooRequest) String() string

type GetStuffTooResponse

type GetStuffTooResponse struct {
	Data []*Item `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStuffTooResponse) Descriptor deprecated

func (*GetStuffTooResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStuffTooResponse.ProtoReflect.Descriptor instead.

func (*GetStuffTooResponse) GetData

func (x *GetStuffTooResponse) GetData() []*Item

func (*GetStuffTooResponse) ProtoMessage

func (*GetStuffTooResponse) ProtoMessage()

func (*GetStuffTooResponse) ProtoReflect

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

func (*GetStuffTooResponse) Reset

func (x *GetStuffTooResponse) Reset()

func (*GetStuffTooResponse) String

func (x *GetStuffTooResponse) String() string

type Item

type Item struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	A1   string `protobuf:"bytes,2,opt,name=A1,proto3" json:"A1,omitempty"`
	A2   string `protobuf:"bytes,3,opt,name=A2,proto3" json:"A2,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

func (*Item) Descriptor() ([]byte, []int)

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetA1

func (x *Item) GetA1() string

func (*Item) GetA2

func (x *Item) GetA2() string

func (*Item) GetName

func (x *Item) GetName() string

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type UnimplementedAdvancedGrpcServer

type UnimplementedAdvancedGrpcServer struct {
}

UnimplementedAdvancedGrpcServer can be embedded to have forward compatible implementations.

func (*UnimplementedAdvancedGrpcServer) GetStuff

func (*UnimplementedAdvancedGrpcServer) GetStuffToo

Jump to

Keyboard shortcuts

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