Documentation

Overview

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:

api.proto

It has these top-level messages:

ExampleRequest
ExampleResponse

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterExampleServer

func RegisterExampleServer(s *grpc.Server, srv ExampleServer)

Types

type ExampleClient

type ExampleClient interface {
	GetExampleInfo(ctx context.Context, in *ExampleRequest, opts ...grpc.CallOption) (*ExampleResponse, error)
}

func NewExampleClient

func NewExampleClient(cc *grpc.ClientConn) ExampleClient

type ExampleRequest

type ExampleRequest struct {
	Request      string `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	V1Beta1Field string `protobuf:"bytes,2,opt,name=v1beta1_field,json=v1beta1Field,proto3" json:"v1beta1_field,omitempty"`
}

func (*ExampleRequest) Descriptor

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

func (*ExampleRequest) GetRequest

func (m *ExampleRequest) GetRequest() string

func (*ExampleRequest) GetV1Beta1Field

func (m *ExampleRequest) GetV1Beta1Field() string

func (*ExampleRequest) Marshal

func (m *ExampleRequest) Marshal() (dAtA []byte, err error)

func (*ExampleRequest) MarshalTo

func (m *ExampleRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExampleRequest) ProtoMessage

func (*ExampleRequest) ProtoMessage()

func (*ExampleRequest) Reset

func (m *ExampleRequest) Reset()

func (*ExampleRequest) Size

func (m *ExampleRequest) Size() (n int)

func (*ExampleRequest) String

func (this *ExampleRequest) String() string

func (*ExampleRequest) Unmarshal

func (m *ExampleRequest) Unmarshal(dAtA []byte) error

type ExampleResponse

type ExampleResponse struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}

func (*ExampleResponse) Descriptor

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

func (*ExampleResponse) GetError

func (m *ExampleResponse) GetError() string

func (*ExampleResponse) Marshal

func (m *ExampleResponse) Marshal() (dAtA []byte, err error)

func (*ExampleResponse) MarshalTo

func (m *ExampleResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExampleResponse) ProtoMessage

func (*ExampleResponse) ProtoMessage()

func (*ExampleResponse) Reset

func (m *ExampleResponse) Reset()

func (*ExampleResponse) Size

func (m *ExampleResponse) Size() (n int)

func (*ExampleResponse) String

func (this *ExampleResponse) String() string

func (*ExampleResponse) Unmarshal

func (m *ExampleResponse) Unmarshal(dAtA []byte) error

type ExampleServer

type ExampleServer interface {
	GetExampleInfo(context.Context, *ExampleRequest) (*ExampleResponse, error)
}

Source Files