Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTransfermarktDomainServiceServer(s grpc.ServiceRegistrar, srv TransfermarktDomainServiceServer)
- type SayHelloRequest
- func (*SayHelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SayHelloRequest) GetName() string
- func (x *SayHelloRequest) GetPage() *v1.Pages
- func (*SayHelloRequest) ProtoMessage()
- func (x *SayHelloRequest) ProtoReflect() protoreflect.Message
- func (x *SayHelloRequest) Reset()
- func (x *SayHelloRequest) String() string
- func (m *SayHelloRequest) Validate() error
- type SayHelloRequestValidationError
- func (e SayHelloRequestValidationError) Cause() error
- func (e SayHelloRequestValidationError) Error() string
- func (e SayHelloRequestValidationError) ErrorName() string
- func (e SayHelloRequestValidationError) Field() string
- func (e SayHelloRequestValidationError) Key() bool
- func (e SayHelloRequestValidationError) Reason() string
- type SayHelloResponse
- func (*SayHelloResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SayHelloResponse) GetResponse() *v11.SayHelloResponse
- func (*SayHelloResponse) ProtoMessage()
- func (x *SayHelloResponse) ProtoReflect() protoreflect.Message
- func (x *SayHelloResponse) Reset()
- func (x *SayHelloResponse) String() string
- func (m *SayHelloResponse) Validate() error
- type SayHelloResponseValidationError
- func (e SayHelloResponseValidationError) Cause() error
- func (e SayHelloResponseValidationError) Error() string
- func (e SayHelloResponseValidationError) ErrorName() string
- func (e SayHelloResponseValidationError) Field() string
- func (e SayHelloResponseValidationError) Key() bool
- func (e SayHelloResponseValidationError) Reason() string
- type TransfermarktDomainServiceClient
- type TransfermarktDomainServiceServer
- type UnimplementedTransfermarktDomainServiceServer
- type UnsafeTransfermarktDomainServiceServer
Constants ¶
const (
TransfermarktDomainService_SayHello_FullMethodName = "/tickex.transfermarkt.domain.v1.TransfermarktDomainService/SayHello"
)
Variables ¶
var File_transfermarkt_domain_proto protoreflect.FileDescriptor
var TransfermarktDomainService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tickex.transfermarkt.domain.v1.TransfermarktDomainService", HandlerType: (*TransfermarktDomainServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SayHello", Handler: _TransfermarktDomainService_SayHello_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "transfermarkt_domain.proto", }
TransfermarktDomainService_ServiceDesc is the grpc.ServiceDesc for TransfermarktDomainService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTransfermarktDomainServiceServer ¶
func RegisterTransfermarktDomainServiceServer(s grpc.ServiceRegistrar, srv TransfermarktDomainServiceServer)
Types ¶
type SayHelloRequest ¶
type SayHelloRequest struct { Page *v1.Pages `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SayHelloRequest) Descriptor
deprecated
func (*SayHelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use SayHelloRequest.ProtoReflect.Descriptor instead.
func (*SayHelloRequest) GetName ¶
func (x *SayHelloRequest) GetName() string
func (*SayHelloRequest) GetPage ¶
func (x *SayHelloRequest) GetPage() *v1.Pages
func (*SayHelloRequest) ProtoMessage ¶
func (*SayHelloRequest) ProtoMessage()
func (*SayHelloRequest) ProtoReflect ¶
func (x *SayHelloRequest) ProtoReflect() protoreflect.Message
func (*SayHelloRequest) Reset ¶
func (x *SayHelloRequest) Reset()
func (*SayHelloRequest) String ¶
func (x *SayHelloRequest) String() string
func (*SayHelloRequest) Validate ¶
func (m *SayHelloRequest) Validate() error
Validate checks the field values on SayHelloRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SayHelloRequestValidationError ¶
type SayHelloRequestValidationError struct {
// contains filtered or unexported fields
}
SayHelloRequestValidationError is the validation error returned by SayHelloRequest.Validate if the designated constraints aren't met.
func (SayHelloRequestValidationError) Cause ¶
func (e SayHelloRequestValidationError) Cause() error
Cause function returns cause value.
func (SayHelloRequestValidationError) Error ¶
func (e SayHelloRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SayHelloRequestValidationError) ErrorName ¶
func (e SayHelloRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SayHelloRequestValidationError) Field ¶
func (e SayHelloRequestValidationError) Field() string
Field function returns field value.
func (SayHelloRequestValidationError) Key ¶
func (e SayHelloRequestValidationError) Key() bool
Key function returns key value.
func (SayHelloRequestValidationError) Reason ¶
func (e SayHelloRequestValidationError) Reason() string
Reason function returns reason value.
type SayHelloResponse ¶
type SayHelloResponse struct { Response *v11.SayHelloResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*SayHelloResponse) Descriptor
deprecated
func (*SayHelloResponse) Descriptor() ([]byte, []int)
Deprecated: Use SayHelloResponse.ProtoReflect.Descriptor instead.
func (*SayHelloResponse) GetResponse ¶
func (x *SayHelloResponse) GetResponse() *v11.SayHelloResponse
func (*SayHelloResponse) ProtoMessage ¶
func (*SayHelloResponse) ProtoMessage()
func (*SayHelloResponse) ProtoReflect ¶
func (x *SayHelloResponse) ProtoReflect() protoreflect.Message
func (*SayHelloResponse) Reset ¶
func (x *SayHelloResponse) Reset()
func (*SayHelloResponse) String ¶
func (x *SayHelloResponse) String() string
func (*SayHelloResponse) Validate ¶
func (m *SayHelloResponse) Validate() error
Validate checks the field values on SayHelloResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SayHelloResponseValidationError ¶
type SayHelloResponseValidationError struct {
// contains filtered or unexported fields
}
SayHelloResponseValidationError is the validation error returned by SayHelloResponse.Validate if the designated constraints aren't met.
func (SayHelloResponseValidationError) Cause ¶
func (e SayHelloResponseValidationError) Cause() error
Cause function returns cause value.
func (SayHelloResponseValidationError) Error ¶
func (e SayHelloResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SayHelloResponseValidationError) ErrorName ¶
func (e SayHelloResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SayHelloResponseValidationError) Field ¶
func (e SayHelloResponseValidationError) Field() string
Field function returns field value.
func (SayHelloResponseValidationError) Key ¶
func (e SayHelloResponseValidationError) Key() bool
Key function returns key value.
func (SayHelloResponseValidationError) Reason ¶
func (e SayHelloResponseValidationError) Reason() string
Reason function returns reason value.
type TransfermarktDomainServiceClient ¶
type TransfermarktDomainServiceClient interface {
SayHello(ctx context.Context, in *SayHelloRequest, opts ...grpc.CallOption) (*SayHelloResponse, error)
}
TransfermarktDomainServiceClient is the client API for TransfermarktDomainService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTransfermarktDomainServiceClient ¶
func NewTransfermarktDomainServiceClient(cc grpc.ClientConnInterface) TransfermarktDomainServiceClient
type TransfermarktDomainServiceServer ¶
type TransfermarktDomainServiceServer interface { SayHello(context.Context, *SayHelloRequest) (*SayHelloResponse, error) // contains filtered or unexported methods }
TransfermarktDomainServiceServer is the server API for TransfermarktDomainService service. All implementations must embed UnimplementedTransfermarktDomainServiceServer for forward compatibility.
type UnimplementedTransfermarktDomainServiceServer ¶
type UnimplementedTransfermarktDomainServiceServer struct{}
UnimplementedTransfermarktDomainServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTransfermarktDomainServiceServer) SayHello ¶
func (UnimplementedTransfermarktDomainServiceServer) SayHello(context.Context, *SayHelloRequest) (*SayHelloResponse, error)
type UnsafeTransfermarktDomainServiceServer ¶
type UnsafeTransfermarktDomainServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTransfermarktDomainServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransfermarktDomainServiceServer will result in compilation errors.