Categorygithub.com/napptive/grpc-playground-common-go
modulepackage
0.6.0
Repository: https://github.com/napptive/grpc-playground-common-go.git
Documentation: pkg.go.dev

# Constants

Success indicates that the operation was completed successfully.
Unknown operation status indicates an error in the processing of the request as all operations should have a determined status.

# Variables

No description provided by the author
Enum value maps for OpStatus.
Enum value maps for OpStatus.

# Structs

Empty message as required by gRPC for services not requiring any parameters.
EmptyRequestValidationError is the validation error returned by EmptyRequest.Validate if the designated constraints aren't met.
GenericGetRequest with the information required to get an entity.
GenericGetRequestValidationError is the validation error returned by GenericGetRequest.Validate if the designated constraints aren't met.
GenericListRequest with the information required to List entities.
GenericListRequestValidationError is the validation error returned by GenericListRequest.Validate if the designated constraints aren't met.
OpResponse with a common definition for the result of executing an operation through gRPC.
OpResponseValidationError is the validation error returned by OpResponse.Validate if the designated constraints aren't met.
RemoveGenericRequest with the information required to identify an entity for removal.
RemoveGenericRequestValidationError is the validation error returned by RemoveGenericRequest.Validate if the designated constraints aren't met.
TokenResponse is the message that contains the generated token and the refresh token.
TokenResponseValidationError is the validation error returned by TokenResponse.Validate if the designated constraints aren't met.

# Type aliases

EmptyRequestMultiError is an error wrapping multiple validation errors returned by EmptyRequest.ValidateAll() if the designated constraints aren't met.
GenericGetRequestMultiError is an error wrapping multiple validation errors returned by GenericGetRequest.ValidateAll() if the designated constraints aren't met.
GenericListRequestMultiError is an error wrapping multiple validation errors returned by GenericListRequest.ValidateAll() if the designated constraints aren't met.
OpResponseMultiError is an error wrapping multiple validation errors returned by OpResponse.ValidateAll() if the designated constraints aren't met.
OpStatus enumeration defining the possible status of an operation.
RemoveGenericRequestMultiError is an error wrapping multiple validation errors returned by RemoveGenericRequest.ValidateAll() if the designated constraints aren't met.
TokenResponseMultiError is an error wrapping multiple validation errors returned by TokenResponse.ValidateAll() if the designated constraints aren't met.