glootest

package
v0.18.14 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTestService2Server added in v0.17.1

func RegisterTestService2Server(s *grpc.Server, srv TestService2Server)

func RegisterTestServiceServer

func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)

Types

type TestRequest

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

func (*TestRequest) Descriptor

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

func (*TestRequest) GetStr

func (m *TestRequest) GetStr() string

func (*TestRequest) ProtoMessage

func (*TestRequest) ProtoMessage()

func (*TestRequest) Reset

func (m *TestRequest) Reset()

func (*TestRequest) String

func (m *TestRequest) String() string

func (*TestRequest) XXX_DiscardUnknown

func (m *TestRequest) XXX_DiscardUnknown()

func (*TestRequest) XXX_Marshal

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

func (*TestRequest) XXX_Merge

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

func (*TestRequest) XXX_Size

func (m *TestRequest) XXX_Size() int

func (*TestRequest) XXX_Unmarshal

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

type TestRequest2 added in v0.17.1

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

func (*TestRequest2) Descriptor added in v0.17.1

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

func (*TestRequest2) GetStr added in v0.17.1

func (m *TestRequest2) GetStr() string

func (*TestRequest2) ProtoMessage added in v0.17.1

func (*TestRequest2) ProtoMessage()

func (*TestRequest2) Reset added in v0.17.1

func (m *TestRequest2) Reset()

func (*TestRequest2) String added in v0.17.1

func (m *TestRequest2) String() string

func (*TestRequest2) XXX_DiscardUnknown added in v0.17.1

func (m *TestRequest2) XXX_DiscardUnknown()

func (*TestRequest2) XXX_Marshal added in v0.17.1

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

func (*TestRequest2) XXX_Merge added in v0.17.1

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

func (*TestRequest2) XXX_Size added in v0.17.1

func (m *TestRequest2) XXX_Size() int

func (*TestRequest2) XXX_Unmarshal added in v0.17.1

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

type TestResponse

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

func (*TestResponse) Descriptor

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

func (*TestResponse) GetStr

func (m *TestResponse) GetStr() string

func (*TestResponse) ProtoMessage

func (*TestResponse) ProtoMessage()

func (*TestResponse) Reset

func (m *TestResponse) Reset()

func (*TestResponse) String

func (m *TestResponse) String() string

func (*TestResponse) XXX_DiscardUnknown

func (m *TestResponse) XXX_DiscardUnknown()

func (*TestResponse) XXX_Marshal

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

func (*TestResponse) XXX_Merge

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

func (*TestResponse) XXX_Size

func (m *TestResponse) XXX_Size() int

func (*TestResponse) XXX_Unmarshal

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

type TestResponse2 added in v0.17.1

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

func (*TestResponse2) Descriptor added in v0.17.1

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

func (*TestResponse2) GetStr added in v0.17.1

func (m *TestResponse2) GetStr() string

func (*TestResponse2) ProtoMessage added in v0.17.1

func (*TestResponse2) ProtoMessage()

func (*TestResponse2) Reset added in v0.17.1

func (m *TestResponse2) Reset()

func (*TestResponse2) String added in v0.17.1

func (m *TestResponse2) String() string

func (*TestResponse2) XXX_DiscardUnknown added in v0.17.1

func (m *TestResponse2) XXX_DiscardUnknown()

func (*TestResponse2) XXX_Marshal added in v0.17.1

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

func (*TestResponse2) XXX_Merge added in v0.17.1

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

func (*TestResponse2) XXX_Size added in v0.17.1

func (m *TestResponse2) XXX_Size() int

func (*TestResponse2) XXX_Unmarshal added in v0.17.1

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

type TestService2Client added in v0.17.1

type TestService2Client interface {
	TestMethod2(ctx context.Context, in *TestRequest2, opts ...grpc.CallOption) (*TestResponse2, error)
}

TestService2Client is the client API for TestService2 service.

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

func NewTestService2Client added in v0.17.1

func NewTestService2Client(cc *grpc.ClientConn) TestService2Client

type TestService2Server added in v0.17.1

type TestService2Server interface {
	TestMethod2(context.Context, *TestRequest2) (*TestResponse2, error)
}

TestService2Server is the server API for TestService2 service.

type TestServiceClient

type TestServiceClient interface {
	TestMethod(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error)
}

TestServiceClient is the client API for TestService service.

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

func NewTestServiceClient

func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient

type TestServiceServer

type TestServiceServer interface {
	TestMethod(context.Context, *TestRequest) (*TestResponse, error)
}

TestServiceServer is the server API for TestService service.

Jump to

Keyboard shortcuts

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