jssdk

package
v1.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 NewClient

func NewClient(app *kernel.ApplicationInterface) *Client

func RegisterProvider

func RegisterProvider(app *kernel.ApplicationPaymentInterface) *Client

func (*Client) BuildConfig

func (comp *Client) BuildConfig(jsApiList *object.StringMap, debug bool, beta bool, isJson bool, openTagList *object.StringMap, url string) (interface{}, error)

func (*Client) ConfigSignature

func (comp *Client) ConfigSignature(url string, nonce string, timestamp time.Time) *object.HashMap

func (*Client) GetAppID

func (comp *Client) GetAppID() string

func (*Client) GetConfigArray

func (comp *Client) GetConfigArray(apis *object.StringMap, debug bool, beta bool, openTagList *object.StringMap, url string) (string, error)

func (*Client) GetTicket

func (comp *Client) GetTicket(refresh bool, ticketType string) (*object.HashMap, error)

func (*Client) GetTicketSignature

func (comp *Client) GetTicketSignature(ticket string, nonce string, timestamp time.Time, url string) string

func (*Client) GetUrl

func (comp *Client) GetUrl() string

func (*Client) SetUrl

func (comp *Client) SetUrl(url string) *Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL