Documentation ¶
Index ¶
- func BuildAlsoDoublySecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
- func BuildAlsoDoublySecurePayload(securedServiceAlsoDoublySecureMessage string, ...) (*securedservice.AlsoDoublySecurePayload, error)
- func BuildDoublySecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
- func BuildDoublySecurePayload(securedServiceDoublySecureMessage string, ...) (*securedservice.DoublySecurePayload, error)
- func BuildSecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
- func BuildSecurePayload(securedServiceSecureMessage string, securedServiceSecureToken string) (*securedservice.SecurePayload, error)
- func BuildSigninFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
- func BuildSigninPayload(securedServiceSigninUsername string, securedServiceSigninPassword string) (*securedservice.SigninPayload, error)
- func DecodeAlsoDoublySecureResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, error)
- func DecodeDoublySecureResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, error)
- func DecodeSecureResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, error)
- func DecodeSigninResponse(ctx context.Context, v any, hdr, trlr metadata.MD) (any, error)
- func EncodeAlsoDoublySecureRequest(ctx context.Context, v any, md *metadata.MD) (any, error)
- func EncodeDoublySecureRequest(ctx context.Context, v any, md *metadata.MD) (any, error)
- func EncodeSecureRequest(ctx context.Context, v any, md *metadata.MD) (any, error)
- func EncodeSigninRequest(ctx context.Context, v any, md *metadata.MD) (any, error)
- func NewAlsoDoublySecureResult(message *secured_servicepb.AlsoDoublySecureResponse) string
- func NewDoublySecureResult(message *secured_servicepb.DoublySecureResponse) string
- func NewProtoAlsoDoublySecureRequest(payload *securedservice.AlsoDoublySecurePayload) *secured_servicepb.AlsoDoublySecureRequest
- func NewProtoDoublySecureRequest(payload *securedservice.DoublySecurePayload) *secured_servicepb.DoublySecureRequest
- func NewProtoSecureRequest(payload *securedservice.SecurePayload) *secured_servicepb.SecureRequest
- func NewProtoSigninRequest() *secured_servicepb.SigninRequest
- func NewSecureResult(message *secured_servicepb.SecureResponse) string
- func NewSigninResult(message *secured_servicepb.SigninResponse) *securedservice.Creds
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAlsoDoublySecureFunc ¶
func BuildAlsoDoublySecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
BuildAlsoDoublySecureFunc builds the remote method to invoke for "secured_service" service "also_doubly_secure" endpoint.
func BuildAlsoDoublySecurePayload ¶
func BuildAlsoDoublySecurePayload(securedServiceAlsoDoublySecureMessage string, securedServiceAlsoDoublySecureOauthToken string, securedServiceAlsoDoublySecureToken string) (*securedservice.AlsoDoublySecurePayload, error)
BuildAlsoDoublySecurePayload builds the payload for the secured_service also_doubly_secure endpoint from CLI flags.
func BuildDoublySecureFunc ¶
func BuildDoublySecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
BuildDoublySecureFunc builds the remote method to invoke for "secured_service" service "doubly_secure" endpoint.
func BuildDoublySecurePayload ¶
func BuildDoublySecurePayload(securedServiceDoublySecureMessage string, securedServiceDoublySecureToken string) (*securedservice.DoublySecurePayload, error)
BuildDoublySecurePayload builds the payload for the secured_service doubly_secure endpoint from CLI flags.
func BuildSecureFunc ¶
func BuildSecureFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
BuildSecureFunc builds the remote method to invoke for "secured_service" service "secure" endpoint.
func BuildSecurePayload ¶
func BuildSecurePayload(securedServiceSecureMessage string, securedServiceSecureToken string) (*securedservice.SecurePayload, error)
BuildSecurePayload builds the payload for the secured_service secure endpoint from CLI flags.
func BuildSigninFunc ¶
func BuildSigninFunc(grpccli secured_servicepb.SecuredServiceClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
BuildSigninFunc builds the remote method to invoke for "secured_service" service "signin" endpoint.
func BuildSigninPayload ¶
func BuildSigninPayload(securedServiceSigninUsername string, securedServiceSigninPassword string) (*securedservice.SigninPayload, error)
BuildSigninPayload builds the payload for the secured_service signin endpoint from CLI flags.
func DecodeAlsoDoublySecureResponse ¶
DecodeAlsoDoublySecureResponse decodes responses from the secured_service also_doubly_secure endpoint.
func DecodeDoublySecureResponse ¶
DecodeDoublySecureResponse decodes responses from the secured_service doubly_secure endpoint.
func DecodeSecureResponse ¶
DecodeSecureResponse decodes responses from the secured_service secure endpoint.
func DecodeSigninResponse ¶
DecodeSigninResponse decodes responses from the secured_service signin endpoint.
func EncodeAlsoDoublySecureRequest ¶
EncodeAlsoDoublySecureRequest encodes requests sent to secured_service also_doubly_secure endpoint.
func EncodeDoublySecureRequest ¶
EncodeDoublySecureRequest encodes requests sent to secured_service doubly_secure endpoint.
func EncodeSecureRequest ¶
EncodeSecureRequest encodes requests sent to secured_service secure endpoint.
func EncodeSigninRequest ¶
EncodeSigninRequest encodes requests sent to secured_service signin endpoint.
func NewAlsoDoublySecureResult ¶
func NewAlsoDoublySecureResult(message *secured_servicepb.AlsoDoublySecureResponse) string
NewAlsoDoublySecureResult builds the result type of the "also_doubly_secure" endpoint of the "secured_service" service from the gRPC response type.
func NewDoublySecureResult ¶
func NewDoublySecureResult(message *secured_servicepb.DoublySecureResponse) string
NewDoublySecureResult builds the result type of the "doubly_secure" endpoint of the "secured_service" service from the gRPC response type.
func NewProtoAlsoDoublySecureRequest ¶
func NewProtoAlsoDoublySecureRequest(payload *securedservice.AlsoDoublySecurePayload) *secured_servicepb.AlsoDoublySecureRequest
NewProtoAlsoDoublySecureRequest builds the gRPC request type from the payload of the "also_doubly_secure" endpoint of the "secured_service" service.
func NewProtoDoublySecureRequest ¶
func NewProtoDoublySecureRequest(payload *securedservice.DoublySecurePayload) *secured_servicepb.DoublySecureRequest
NewProtoDoublySecureRequest builds the gRPC request type from the payload of the "doubly_secure" endpoint of the "secured_service" service.
func NewProtoSecureRequest ¶
func NewProtoSecureRequest(payload *securedservice.SecurePayload) *secured_servicepb.SecureRequest
NewProtoSecureRequest builds the gRPC request type from the payload of the "secure" endpoint of the "secured_service" service.
func NewProtoSigninRequest ¶
func NewProtoSigninRequest() *secured_servicepb.SigninRequest
NewProtoSigninRequest builds the gRPC request type from the payload of the "signin" endpoint of the "secured_service" service.
func NewSecureResult ¶
func NewSecureResult(message *secured_servicepb.SecureResponse) string
NewSecureResult builds the result type of the "secure" endpoint of the "secured_service" service from the gRPC response type.
func NewSigninResult ¶
func NewSigninResult(message *secured_servicepb.SigninResponse) *securedservice.Creds
NewSigninResult builds the result type of the "signin" endpoint of the "secured_service" service from the gRPC response type.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client lists the service endpoint gRPC clients.
func NewClient ¶
func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client
NewClient instantiates gRPC client for all the secured_service service servers.
func (*Client) AlsoDoublySecure ¶
AlsoDoublySecure calls the "AlsoDoublySecure" function in secured_servicepb.SecuredServiceClient interface.
func (*Client) DoublySecure ¶
DoublySecure calls the "DoublySecure" function in secured_servicepb.SecuredServiceClient interface.