foov1

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bar_name = map[int32]string{
	0: "BAR_INVALID",
}
View Source
var Bar_value = map[string]int32{
	"BAR_INVALID": 0,
}
View Source
var Foo_Bar_Bat_name = map[int32]string{
	0: "BAT_INVALID",
}
View Source
var Foo_Bar_Bat_value = map[string]int32{
	"BAT_INVALID": 0,
}
View Source
var Foo_Bar_Baz_name = map[int32]string{
	0: "BAZ_INVALID",
}
View Source
var Foo_Bar_Baz_value = map[string]int32{
	"BAZ_INVALID": 0,
}
View Source
var Hello_name = map[int32]string{
	0: "HELLO_INVALID",
	1: "HELLO_UNSET",
	2: "HELLO_TREE",
	3: "HELLO_BALLOON",
}
View Source
var Hello_value = map[string]int32{
	"HELLO_INVALID": 0,
	"HELLO_UNSET":   1,
	"HELLO_TREE":    2,
	"HELLO_BALLOON": 3,
}

Functions

func RegisterExcitedAPIServer

func RegisterExcitedAPIServer(s *grpc.Server, srv ExcitedAPIServer)

func RegisterHelloAPIServer

func RegisterHelloAPIServer(s *grpc.Server, srv HelloAPIServer)

Types

type Another

type Another struct {
	One     int64            `protobuf:"varint,1,opt,name=one,proto3" json:"one,omitempty"`
	Two     string           `protobuf:"bytes,2,opt,name=two,proto3" json:"two,omitempty"`
	Another *Another         `protobuf:"bytes,3,opt,name=another,proto3" json:"another,omitempty"`
	Four    []string         `protobuf:"bytes,4,rep,name=four,proto3" json:"four,omitempty"`
	Hello   Hello            `protobuf:"varint,5,opt,name=hello,proto3,enum=uber.foo.v1.Hello" json:"hello,omitempty"`
	M       map[string]int64 `` /* 144-byte string literal not displayed */
	// Types that are valid to be assigned to OneofOneof:
	//	*Another_Seven
	//	*Another_Eight
	OneofOneof           isAnother_OneofOneof `protobuf_oneof:"oneof_oneof"`
	Nine                 []*Another           `protobuf:"bytes,9,rep,name=nine,proto3" json:"nine,omitempty"`
	AnotherDuration      *duration.Duration   `protobuf:"bytes,10,opt,name=another_duration,json=anotherDuration,proto3" json:"another_duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Another is another message.

func (*Another) Descriptor

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

func (*Another) GetAnother

func (m *Another) GetAnother() *Another

func (*Another) GetAnotherDuration

func (m *Another) GetAnotherDuration() *duration.Duration

func (*Another) GetEight

func (m *Another) GetEight() string

func (*Another) GetFour

func (m *Another) GetFour() []string

func (*Another) GetHello

func (m *Another) GetHello() Hello

func (*Another) GetM

func (m *Another) GetM() map[string]int64

func (*Another) GetNine

func (m *Another) GetNine() []*Another

func (*Another) GetOne

func (m *Another) GetOne() int64

func (*Another) GetOneofOneof

func (m *Another) GetOneofOneof() isAnother_OneofOneof

func (*Another) GetSeven

func (m *Another) GetSeven() int64

func (*Another) GetTwo

func (m *Another) GetTwo() string

func (*Another) ProtoMessage

func (*Another) ProtoMessage()

func (*Another) Reset

func (m *Another) Reset()

func (*Another) String

func (m *Another) String() string

func (*Another) XXX_DiscardUnknown

func (m *Another) XXX_DiscardUnknown()

func (*Another) XXX_Marshal

func (m *Another) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Another) XXX_Merge

func (m *Another) XXX_Merge(src proto.Message)

func (*Another) XXX_OneofWrappers

func (*Another) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Another) XXX_Size

func (m *Another) XXX_Size() int

func (*Another) XXX_Unmarshal

func (m *Another) XXX_Unmarshal(b []byte) error

type Another_Eight

type Another_Eight struct {
	Eight string `protobuf:"bytes,8,opt,name=eight,proto3,oneof"`
}

type Another_Seven

type Another_Seven struct {
	Seven int64 `protobuf:"varint,7,opt,name=seven,proto3,oneof"`
}

type Bar

type Bar int32

Bar is a bar.

const (
	Bar_BAR_INVALID Bar = 0
)

func (Bar) EnumDescriptor

func (Bar) EnumDescriptor() ([]byte, []int)

func (Bar) String

func (x Bar) String() string

type BarRequest

type BarRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BarRequest) Descriptor

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

func (*BarRequest) GetId

func (m *BarRequest) GetId() int64

func (*BarRequest) ProtoMessage

func (*BarRequest) ProtoMessage()

func (*BarRequest) Reset

func (m *BarRequest) Reset()

func (*BarRequest) String

func (m *BarRequest) String() string

func (*BarRequest) XXX_DiscardUnknown

func (m *BarRequest) XXX_DiscardUnknown()

func (*BarRequest) XXX_Marshal

func (m *BarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BarRequest) XXX_Merge

func (m *BarRequest) XXX_Merge(src proto.Message)

func (*BarRequest) XXX_Size

func (m *BarRequest) XXX_Size() int

func (*BarRequest) XXX_Unmarshal

func (m *BarRequest) XXX_Unmarshal(b []byte) error

type BarResponse

type BarResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BarResponse) Descriptor

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

func (*BarResponse) ProtoMessage

func (*BarResponse) ProtoMessage()

func (*BarResponse) Reset

func (m *BarResponse) Reset()

func (*BarResponse) String

func (m *BarResponse) String() string

func (*BarResponse) XXX_DiscardUnknown

func (m *BarResponse) XXX_DiscardUnknown()

func (*BarResponse) XXX_Marshal

func (m *BarResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BarResponse) XXX_Merge

func (m *BarResponse) XXX_Merge(src proto.Message)

func (*BarResponse) XXX_Size

func (m *BarResponse) XXX_Size() int

func (*BarResponse) XXX_Unmarshal

func (m *BarResponse) XXX_Unmarshal(b []byte) error

type Barr

type Barr struct {
	Hello                int64                `protobuf:"varint,1,opt,name=hello,proto3" json:"hello,omitempty"`
	BarrTime             *timestamp.Timestamp `protobuf:"bytes,2,opt,name=barr_time,json=barrTime,proto3" json:"barr_time,omitempty"`
	BarHello             *v1.Hello            `protobuf:"bytes,3,opt,name=bar_hello,json=barHello,proto3" json:"bar_hello,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Barr is a barr.

func (*Barr) Descriptor

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

func (*Barr) GetBarHello

func (m *Barr) GetBarHello() *v1.Hello

func (*Barr) GetBarrTime

func (m *Barr) GetBarrTime() *timestamp.Timestamp

func (*Barr) GetHello

func (m *Barr) GetHello() int64

func (*Barr) ProtoMessage

func (*Barr) ProtoMessage()

func (*Barr) Reset

func (m *Barr) Reset()

func (*Barr) String

func (m *Barr) String() string

func (*Barr) XXX_DiscardUnknown

func (m *Barr) XXX_DiscardUnknown()

func (*Barr) XXX_Marshal

func (m *Barr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Barr) XXX_Merge

func (m *Barr) XXX_Merge(src proto.Message)

func (*Barr) XXX_Size

func (m *Barr) XXX_Size() int

func (*Barr) XXX_Unmarshal

func (m *Barr) XXX_Unmarshal(b []byte) error

type Bazz

type Bazz struct {
	One                  int64    `protobuf:"varint,1,opt,name=one,proto3" json:"one,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Bazz is a bazzzz.

func (*Bazz) Descriptor

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

func (*Bazz) GetOne

func (m *Bazz) GetOne() int64

func (*Bazz) ProtoMessage

func (*Bazz) ProtoMessage()

func (*Bazz) Reset

func (m *Bazz) Reset()

func (*Bazz) String

func (m *Bazz) String() string

func (*Bazz) XXX_DiscardUnknown

func (m *Bazz) XXX_DiscardUnknown()

func (*Bazz) XXX_Marshal

func (m *Bazz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bazz) XXX_Merge

func (m *Bazz) XXX_Merge(src proto.Message)

func (*Bazz) XXX_Size

func (m *Bazz) XXX_Size() int

func (*Bazz) XXX_Unmarshal

func (m *Bazz) XXX_Unmarshal(b []byte) error

type ExcitedAPIClient

type ExcitedAPIClient interface {
	// Exclamation adds an exclamation to the request value.
	Exclamation(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (*ExclamationResponse, error)
	// ExclamationClientStream adds an exclamation to the combined request values.
	ExclamationClientStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedAPI_ExclamationClientStreamClient, error)
	// ExclamationServerStream adds an exclamation to the request value
	// and streams each character as a response.
	ExclamationServerStream(ctx context.Context, in *ExclamationRequest, opts ...grpc.CallOption) (ExcitedAPI_ExclamationServerStreamClient, error)
	// ExclamationBidiStream adds an exclamation to the each request value.
	ExclamationBidiStream(ctx context.Context, opts ...grpc.CallOption) (ExcitedAPI_ExclamationBidiStreamClient, error)
}

ExcitedAPIClient is the client API for ExcitedAPI service.

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

func NewExcitedAPIClient

func NewExcitedAPIClient(cc grpc.ClientConnInterface) ExcitedAPIClient

type ExcitedAPIServer

type ExcitedAPIServer interface {
	// Exclamation adds an exclamation to the request value.
	Exclamation(context.Context, *ExclamationRequest) (*ExclamationResponse, error)
	// ExclamationClientStream adds an exclamation to the combined request values.
	ExclamationClientStream(ExcitedAPI_ExclamationClientStreamServer) error
	// ExclamationServerStream adds an exclamation to the request value
	// and streams each character as a response.
	ExclamationServerStream(*ExclamationRequest, ExcitedAPI_ExclamationServerStreamServer) error
	// ExclamationBidiStream adds an exclamation to the each request value.
	ExclamationBidiStream(ExcitedAPI_ExclamationBidiStreamServer) error
}

ExcitedAPIServer is the server API for ExcitedAPI service.

type ExcitedAPI_ExclamationBidiStreamClient

type ExcitedAPI_ExclamationBidiStreamClient interface {
	Send(*ExclamationRequest) error
	Recv() (*ExclamationResponse, error)
	grpc.ClientStream
}

type ExcitedAPI_ExclamationBidiStreamServer

type ExcitedAPI_ExclamationBidiStreamServer interface {
	Send(*ExclamationResponse) error
	Recv() (*ExclamationRequest, error)
	grpc.ServerStream
}

type ExcitedAPI_ExclamationClientStreamClient

type ExcitedAPI_ExclamationClientStreamClient interface {
	Send(*ExclamationRequest) error
	CloseAndRecv() (*ExclamationResponse, error)
	grpc.ClientStream
}

type ExcitedAPI_ExclamationClientStreamServer

type ExcitedAPI_ExclamationClientStreamServer interface {
	SendAndClose(*ExclamationResponse) error
	Recv() (*ExclamationRequest, error)
	grpc.ServerStream
}

type ExcitedAPI_ExclamationServerStreamClient

type ExcitedAPI_ExclamationServerStreamClient interface {
	Recv() (*ExclamationResponse, error)
	grpc.ClientStream
}

type ExcitedAPI_ExclamationServerStreamServer

type ExcitedAPI_ExclamationServerStreamServer interface {
	Send(*ExclamationResponse) error
	grpc.ServerStream
}

type ExclamationRequest

type ExclamationRequest struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExclamationRequest) Descriptor

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

func (*ExclamationRequest) GetValue

func (m *ExclamationRequest) GetValue() string

func (*ExclamationRequest) ProtoMessage

func (*ExclamationRequest) ProtoMessage()

func (*ExclamationRequest) Reset

func (m *ExclamationRequest) Reset()

func (*ExclamationRequest) String

func (m *ExclamationRequest) String() string

func (*ExclamationRequest) XXX_DiscardUnknown

func (m *ExclamationRequest) XXX_DiscardUnknown()

func (*ExclamationRequest) XXX_Marshal

func (m *ExclamationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExclamationRequest) XXX_Merge

func (m *ExclamationRequest) XXX_Merge(src proto.Message)

func (*ExclamationRequest) XXX_Size

func (m *ExclamationRequest) XXX_Size() int

func (*ExclamationRequest) XXX_Unmarshal

func (m *ExclamationRequest) XXX_Unmarshal(b []byte) error

type ExclamationResponse

type ExclamationResponse struct {
	Value                string   `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExclamationResponse) Descriptor

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

func (*ExclamationResponse) GetValue

func (m *ExclamationResponse) GetValue() string

func (*ExclamationResponse) ProtoMessage

func (*ExclamationResponse) ProtoMessage()

func (*ExclamationResponse) Reset

func (m *ExclamationResponse) Reset()

func (*ExclamationResponse) String

func (m *ExclamationResponse) String() string

func (*ExclamationResponse) XXX_DiscardUnknown

func (m *ExclamationResponse) XXX_DiscardUnknown()

func (*ExclamationResponse) XXX_Marshal

func (m *ExclamationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExclamationResponse) XXX_Merge

func (m *ExclamationResponse) XXX_Merge(src proto.Message)

func (*ExclamationResponse) XXX_Size

func (m *ExclamationResponse) XXX_Size() int

func (*ExclamationResponse) XXX_Unmarshal

func (m *ExclamationResponse) XXX_Unmarshal(b []byte) error

type Foo

type Foo struct {
	Bar                  *Foo_Bar `protobuf:"bytes,1,opt,name=bar,proto3" json:"bar,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Foo is a foo.

func (*Foo) Descriptor

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

func (*Foo) GetBar

func (m *Foo) GetBar() *Foo_Bar

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) String

func (m *Foo) String() string

func (*Foo) XXX_DiscardUnknown

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal

func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Foo) XXX_Merge

func (m *Foo) XXX_Merge(src proto.Message)

func (*Foo) XXX_Size

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal

func (m *Foo) XXX_Unmarshal(b []byte) error

type FooRequest

type FooRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooRequest) Descriptor

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

func (*FooRequest) ProtoMessage

func (*FooRequest) ProtoMessage()

func (*FooRequest) Reset

func (m *FooRequest) Reset()

func (*FooRequest) String

func (m *FooRequest) String() string

func (*FooRequest) XXX_DiscardUnknown

func (m *FooRequest) XXX_DiscardUnknown()

func (*FooRequest) XXX_Marshal

func (m *FooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FooRequest) XXX_Merge

func (m *FooRequest) XXX_Merge(src proto.Message)

func (*FooRequest) XXX_Size

func (m *FooRequest) XXX_Size() int

func (*FooRequest) XXX_Unmarshal

func (m *FooRequest) XXX_Unmarshal(b []byte) error

type FooResponse

type FooResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooResponse) Descriptor

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

func (*FooResponse) ProtoMessage

func (*FooResponse) ProtoMessage()

func (*FooResponse) Reset

func (m *FooResponse) Reset()

func (*FooResponse) String

func (m *FooResponse) String() string

func (*FooResponse) XXX_DiscardUnknown

func (m *FooResponse) XXX_DiscardUnknown()

func (*FooResponse) XXX_Marshal

func (m *FooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FooResponse) XXX_Merge

func (m *FooResponse) XXX_Merge(src proto.Message)

func (*FooResponse) XXX_Size

func (m *FooResponse) XXX_Size() int

func (*FooResponse) XXX_Unmarshal

func (m *FooResponse) XXX_Unmarshal(b []byte) error

type Foo_Bar

type Foo_Bar struct {
	Baz                  Foo_Bar_Baz `protobuf:"varint,1,opt,name=baz,proto3,enum=uber.foo.v1.Foo_Bar_Baz" json:"baz,omitempty"`
	Bat                  Foo_Bar_Bat `protobuf:"varint,2,opt,name=bat,proto3,enum=uber.foo.v1.Foo_Bar_Bat" json:"bat,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Bar is a bar.

func (*Foo_Bar) Descriptor

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

func (*Foo_Bar) GetBat

func (m *Foo_Bar) GetBat() Foo_Bar_Bat

func (*Foo_Bar) GetBaz

func (m *Foo_Bar) GetBaz() Foo_Bar_Baz

func (*Foo_Bar) ProtoMessage

func (*Foo_Bar) ProtoMessage()

func (*Foo_Bar) Reset

func (m *Foo_Bar) Reset()

func (*Foo_Bar) String

func (m *Foo_Bar) String() string

func (*Foo_Bar) XXX_DiscardUnknown

func (m *Foo_Bar) XXX_DiscardUnknown()

func (*Foo_Bar) XXX_Marshal

func (m *Foo_Bar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Foo_Bar) XXX_Merge

func (m *Foo_Bar) XXX_Merge(src proto.Message)

func (*Foo_Bar) XXX_Size

func (m *Foo_Bar) XXX_Size() int

func (*Foo_Bar) XXX_Unmarshal

func (m *Foo_Bar) XXX_Unmarshal(b []byte) error

type Foo_Bar_Bat

type Foo_Bar_Bat int32

Bat is a bat.

const (
	Foo_Bar_BAT_INVALID Foo_Bar_Bat = 0
)

func (Foo_Bar_Bat) EnumDescriptor

func (Foo_Bar_Bat) EnumDescriptor() ([]byte, []int)

func (Foo_Bar_Bat) String

func (x Foo_Bar_Bat) String() string

type Foo_Bar_Baz

type Foo_Bar_Baz int32

Baz is a baz.

const (
	Foo_Bar_BAZ_INVALID Foo_Bar_Baz = 0
)

func (Foo_Bar_Baz) EnumDescriptor

func (Foo_Bar_Baz) EnumDescriptor() ([]byte, []int)

func (Foo_Bar_Baz) String

func (x Foo_Bar_Baz) String() string

type HasWKT

type HasWKT struct {
	WktDuration          *duration.Duration `protobuf:"bytes,1,opt,name=wkt_duration,json=wktDuration,proto3" json:"wkt_duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

HasWKT has Well-Known Types.

func (*HasWKT) Descriptor

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

func (*HasWKT) GetWktDuration

func (m *HasWKT) GetWktDuration() *duration.Duration

func (*HasWKT) ProtoMessage

func (*HasWKT) ProtoMessage()

func (*HasWKT) Reset

func (m *HasWKT) Reset()

func (*HasWKT) String

func (m *HasWKT) String() string

func (*HasWKT) XXX_DiscardUnknown

func (m *HasWKT) XXX_DiscardUnknown()

func (*HasWKT) XXX_Marshal

func (m *HasWKT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HasWKT) XXX_Merge

func (m *HasWKT) XXX_Merge(src proto.Message)

func (*HasWKT) XXX_Size

func (m *HasWKT) XXX_Size() int

func (*HasWKT) XXX_Unmarshal

func (m *HasWKT) XXX_Unmarshal(b []byte) error

type Hello

type Hello int32

Hello is a hello.

const (
	Hello_HELLO_INVALID Hello = 0
	Hello_HELLO_UNSET   Hello = 1
	Hello_HELLO_TREE    Hello = 2
	Hello_HELLO_BALLOON Hello = 3
)

func (Hello) EnumDescriptor

func (Hello) EnumDescriptor() ([]byte, []int)

func (Hello) String

func (x Hello) String() string

type HelloAPIClient

type HelloAPIClient interface {
	// Foo does a foo.
	Foo(ctx context.Context, in *FooRequest, opts ...grpc.CallOption) (*FooResponse, error)
	// Bar does a bar.
	Bar(ctx context.Context, in *BarRequest, opts ...grpc.CallOption) (*BarResponse, error)
}

HelloAPIClient is the client API for HelloAPI service.

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

func NewHelloAPIClient

func NewHelloAPIClient(cc grpc.ClientConnInterface) HelloAPIClient

type HelloAPIServer

type HelloAPIServer interface {
	// Foo does a foo.
	Foo(context.Context, *FooRequest) (*FooResponse, error)
	// Bar does a bar.
	Bar(context.Context, *BarRequest) (*BarResponse, error)
}

HelloAPIServer is the server API for HelloAPI service.

type UnimplementedExcitedAPIServer

type UnimplementedExcitedAPIServer struct {
}

UnimplementedExcitedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedExcitedAPIServer) Exclamation

func (*UnimplementedExcitedAPIServer) ExclamationBidiStream

func (*UnimplementedExcitedAPIServer) ExclamationClientStream

func (*UnimplementedExcitedAPIServer) ExclamationServerStream

type UnimplementedHelloAPIServer

type UnimplementedHelloAPIServer struct {
}

UnimplementedHelloAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedHelloAPIServer) Bar

func (*UnimplementedHelloAPIServer) Foo

Jump to

Keyboard shortcuts

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