Documentation ¶
Index ¶
- func PingInsecurePath() string
- func PingSecurePath() string
- type Client
- func (c *Client) DecodePong(resp *http.Response) (*Pong, error)
- func (c *Client) NewPingInsecureRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewPingSecureRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) PingInsecure(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) PingSecure(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) SetJWTSigner(signer goaclient.Signer)
- type Pong
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PingInsecurePath ¶
func PingInsecurePath() string
PingInsecurePath computes a request path to the ping action of insecure.
func PingSecurePath ¶
func PingSecurePath() string
PingSecurePath computes a request path to the ping action of secure.
Types ¶
type Client ¶
type Client struct { *goaclient.Client JWTSigner goaclient.Signer Encoder *goa.HTTPEncoder Decoder *goa.HTTPDecoder }
Client is the goa-sso-client service client.
func (*Client) DecodePong ¶
DecodePong decodes the Pong instance encoded in resp body.
func (*Client) NewPingInsecureRequest ¶
NewPingInsecureRequest create the request corresponding to the ping action endpoint of the insecure resource.
func (*Client) NewPingSecureRequest ¶
NewPingSecureRequest create the request corresponding to the ping action endpoint of the secure resource.
func (*Client) PingInsecure ¶
PingInsecure makes a request to the ping action endpoint of the insecure resource
func (*Client) PingSecure ¶
PingSecure makes a request to the ping action endpoint of the secure resource
func (*Client) SetJWTSigner ¶
SetJWTSigner sets the request signer for the jwt security scheme.