Documentation ¶
Index ¶
- type Client
- func (comp *Client) BuildConfig(jsApiList []string, debug bool, beta bool, openTagList []string, url string) (interface{}, error)
- func (comp *Client) ConfigSignature(url string, nonce string, timestamp int64) (*object.HashMap, error)
- func (comp *Client) GetAppID() string
- func (comp *Client) GetConfigArray(apis []string, debug bool, beta bool, openTagList []string, url string) (string, error)
- func (comp *Client) GetTicket(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) 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 { *kernel.BaseClient *kernel.InteractsWithCache TicketEndpoint 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 ¶
Click to show internal directories.
Click to hide internal directories.