Documentation ¶
Index ¶
- func SetGlobal(cli *Client)
- type Authentication
- type Client
- func (c *Client) Application() application.ServiceClient
- func (c *Client) Department() department.ServiceClient
- func (c *Client) Domain() domain.ServiceClient
- func (c *Client) Endpoint() endpoint.ServiceClient
- func (c *Client) GetClientID() string
- func (c *Client) Mconf() mconf.ServiceClient
- func (c *Client) Micro() micro.ServiceClient
- func (c *Client) Namespace() namespace.ServiceClient
- func (c *Client) Permission() permission.ServiceClient
- func (c *Client) Policy() policy.ServiceClient
- func (c *Client) Role() role.ServiceClient
- func (c *Client) Session() session.ServiceClient
- func (c *Client) Tag() tag.ServiceClient
- func (c *Client) Token() token.ServiceClient
- func (c *Client) User() user.ServiceClient
- func (c *Client) Verifycode() verifycode.ServiceClient
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authentication ¶
type Authentication struct {
// contains filtered or unexported fields
}
Authentication todo
func (*Authentication) GetRequestMetadata ¶
func (a *Authentication) GetRequestMetadata(context.Context, ...string) ( map[string]string, error, )
GetRequestMetadata todo
func (*Authentication) RequireTransportSecurity ¶
func (a *Authentication) RequireTransportSecurity() bool
RequireTransportSecurity todo
func (*Authentication) SetClientCredentials ¶
func (a *Authentication) SetClientCredentials(clientID, clientSecret string)
SetClientCredentials todo
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 客户端
func (*Client) Application ¶ added in v0.5.5
func (c *Client) Application() application.ServiceClient
ApplicationAdmin todo
func (*Client) Session ¶ added in v0.6.0
func (c *Client) Session() session.ServiceClient
SessionAdmin todo
type Config ¶
type Config struct { *Authentication // contains filtered or unexported fields }
Config 客户端配置
Click to show internal directories.
Click to hide internal directories.