Versions in this module Expand all Collapse all v1 v1.15.0 Sep 9, 2024 Changes in this version + const Binding + var ErrIntOverflowTest = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTest = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTest = fmt.Errorf("proto: unexpected end of group") + var LogFacade log.Log + func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer) + type Application struct + func NewApplication(config config.Config) *Application + func (app *Application) Client(ctx context.Context, name string) (*grpc.ClientConn, error) + func (app *Application) Run(host ...string) error + func (app *Application) Server() *grpc.Server + func (app *Application) UnaryClientInterceptorGroups(unaryClientInterceptorGroups map[string][]grpc.UnaryClientInterceptor) + func (app *Application) UnaryServerInterceptors(unaryServerInterceptors []grpc.UnaryServerInterceptor) + type ServiceProvider struct + func (route *ServiceProvider) Boot(app foundation.Application) + func (route *ServiceProvider) Register(app foundation.Application) + type TestRequest struct + Name string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TestRequest) Descriptor() ([]byte, []int) + func (*TestRequest) ProtoMessage() + func (m *TestRequest) GetName() string + func (m *TestRequest) Marshal() (dAtA []byte, err error) + func (m *TestRequest) MarshalTo(dAtA []byte) (int, error) + func (m *TestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TestRequest) Reset() + func (m *TestRequest) Size() (n int) + func (m *TestRequest) String() string + func (m *TestRequest) Unmarshal(dAtA []byte) error + func (m *TestRequest) XXX_DiscardUnknown() + func (m *TestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TestRequest) XXX_Merge(src proto.Message) + func (m *TestRequest) XXX_Size() int + func (m *TestRequest) XXX_Unmarshal(b []byte) error + type TestResponse struct + Code int32 + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TestResponse) Descriptor() ([]byte, []int) + func (*TestResponse) ProtoMessage() + func (m *TestResponse) GetCode() int32 + func (m *TestResponse) GetMessage() string + func (m *TestResponse) Marshal() (dAtA []byte, err error) + func (m *TestResponse) MarshalTo(dAtA []byte) (int, error) + func (m *TestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TestResponse) Reset() + func (m *TestResponse) Size() (n int) + func (m *TestResponse) String() string + func (m *TestResponse) Unmarshal(dAtA []byte) error + func (m *TestResponse) XXX_DiscardUnknown() + func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TestResponse) XXX_Merge(src proto.Message) + func (m *TestResponse) XXX_Size() int + func (m *TestResponse) XXX_Unmarshal(b []byte) error + type TestServiceClient interface + Get func(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error) + func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient + type TestServiceServer interface + Get func(context.Context, *TestRequest) (*TestResponse, error) + type UnimplementedTestServiceServer struct + func (*UnimplementedTestServiceServer) Get(ctx context.Context, req *TestRequest) (*TestResponse, error)