Documentation ¶
Index ¶
- type Client
- func (comp *Client) BuildConfig(ctx context.Context, jsApiList []string, debug bool, beta bool, ...) (interface{}, error)
- func (comp *Client) ConfigSignature(ctx context.Context, url string, nonce string, timestamp int64) (*object.HashMap, error)
- func (comp *Client) GetConfigArray(ctx context.Context, apis []string, debug bool, beta bool, ...) (string, error)
- func (comp *Client) GetTicket(ctx context.Context, refresh bool, ticketType string) (*object.HashMap, error)
- func (comp *Client) GetTicketSignature(ticket string, nonce string, timestamp int64, url string) string
- func (comp *Client) GetUrl(externalRequest *http.Request) string
- func (comp *Client) OverrideGetAppID()
- func (comp *Client) SetUrl(url string) *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseClient *kernel.BaseClient *kernel.InteractsWithCache TicketEndpoint string GetAppID func() string // contains filtered or unexported fields }
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) BuildConfig ¶
func (*Client) ConfigSignature ¶
func (*Client) GetConfigArray ¶
func (*Client) GetTicketSignature ¶
func (*Client) OverrideGetAppID ¶
func (comp *Client) OverrideGetAppID()
Click to show internal directories.
Click to hide internal directories.