package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev
# Functions
DecodeAlsoDoublySecureRequest decodes requests sent to "secured_service" service "also_doubly_secure" endpoint.
DecodeDoublySecureRequest decodes requests sent to "secured_service" service "doubly_secure" endpoint.
DecodeSecureRequest decodes requests sent to "secured_service" service "secure" endpoint.
DecodeSigninRequest decodes requests sent to "secured_service" service "signin" endpoint.
EncodeAlsoDoublySecureResponse encodes responses from the "secured_service" service "also_doubly_secure" endpoint.
EncodeDoublySecureResponse encodes responses from the "secured_service" service "doubly_secure" endpoint.
EncodeSecureResponse encodes responses from the "secured_service" service "secure" endpoint.
EncodeSigninResponse encodes responses from the "secured_service" service "signin" endpoint.
New instantiates the server struct with the secured_service service endpoints.
NewAlsoDoublySecureHandler creates a gRPC handler which serves the "secured_service" service "also_doubly_secure" endpoint.
NewAlsoDoublySecurePayload builds the payload of the "also_doubly_secure" endpoint of the "secured_service" service from the gRPC request type.
NewAlsoDoublySecureResponse builds the gRPC response type from the result of the "also_doubly_secure" endpoint of the "secured_service" service.
NewDoublySecureHandler creates a gRPC handler which serves the "secured_service" service "doubly_secure" endpoint.
NewDoublySecurePayload builds the payload of the "doubly_secure" endpoint of the "secured_service" service from the gRPC request type.
NewDoublySecureResponse builds the gRPC response type from the result of the "doubly_secure" endpoint of the "secured_service" service.
NewSecureHandler creates a gRPC handler which serves the "secured_service" service "secure" endpoint.
NewSecurePayload builds the payload of the "secure" endpoint of the "secured_service" service from the gRPC request type.
NewSecureResponse builds the gRPC response type from the result of the "secure" endpoint of the "secured_service" service.
NewSigninHandler creates a gRPC handler which serves the "secured_service" service "signin" endpoint.
NewSigninPayload builds the payload of the "signin" endpoint of the "secured_service" service from the gRPC request type.
NewSigninResponse builds the gRPC response type from the result of the "signin" endpoint of the "secured_service" service.
# Interfaces
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the expr.