package
0.0.0-20230923054243-fc3d56d83ca0
Repository: https://github.com/douyu/proto.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

ERROR_NAME_EMPTY is the error code for empty name.
ERROR_UNSPECIFIED is the invalid code.
SEX_FEMALE ...
SEX_MALE ...
SEX_UNSPECIFIED ...

# Variables

Enum value maps for Error.
Enum value maps for Error.
No description provided by the author
No description provided by the author
GreeterService_ServiceDesc is the grpc.ServiceDesc for GreeterService service.
Enum value maps for Sex.
Enum value maps for Sex.
ERROR_NAME_EMPTY is the error code for empty name.

# Structs

The request message containing the user's name.
SayHelloRequestValidationError is the validation error returned by SayHelloRequest.Validate if the designated constraints aren't met.
The response message containing the greetings.
Data is the data to be sent.
SayHelloResponse_DataValidationError is the validation error returned by SayHelloResponse_Data.Validate if the designated constraints aren't met.
SayHelloResponseValidationError is the validation error returned by SayHelloResponse.Validate if the designated constraints aren't met.
The request message containing the user's name.
SayHiRequestValidationError is the validation error returned by SayHiRequest.Validate if the designated constraints aren't met.
The response message containing the greetings.
Data is the data to be sent.
SayHiResponse_DataValidationError is the validation error returned by SayHiResponse_Data.Validate if the designated constraints aren't met.
SayHiResponseValidationError is the validation error returned by SayHiResponse.Validate if the designated constraints aren't met.
UnimplementedGreeterServiceServer should be embedded to have forward compatible implementations.

# Interfaces

GreeterServiceClient is the client API for GreeterService service.
No description provided by the author
GreeterServiceServer is the server API for GreeterService service.
UnsafeGreeterServiceServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

Error codes for the helloworld.v1 package.
SayHelloRequestMultiError is an error wrapping multiple validation errors returned by SayHelloRequest.ValidateAll() if the designated constraints aren't met.
SayHelloResponse_DataMultiError is an error wrapping multiple validation errors returned by SayHelloResponse_Data.ValidateAll() if the designated constraints aren't met.
SayHelloResponseMultiError is an error wrapping multiple validation errors returned by SayHelloResponse.ValidateAll() if the designated constraints aren't met.
SayHiRequestMultiError is an error wrapping multiple validation errors returned by SayHiRequest.ValidateAll() if the designated constraints aren't met.
SayHiResponse_DataMultiError is an error wrapping multiple validation errors returned by SayHiResponse_Data.ValidateAll() if the designated constraints aren't met.
SayHiResponseMultiError is an error wrapping multiple validation errors returned by SayHiResponse.ValidateAll() if the designated constraints aren't met.
Sex.