Documentation ¶ Index ¶ type Client func RegisterProvider(app kernel.ApplicationInterface) (*Client, error) func (comp *Client) Generate(ctx context.Context, pageUrl string, pageTitle string, isPermanent bool) (*response.ResponseShortLinkGenerate, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { BaseClient *kernel.BaseClient } func RegisterProvider ¶ func RegisterProvider(app kernel.ApplicationInterface) (*Client, error) func (*Client) Generate ¶ func (comp *Client) Generate(ctx context.Context, pageUrl string, pageTitle string, isPermanent bool) (*response.ResponseShortLinkGenerate, error) 获取小程序 Short Link https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/short-link/shortlink.generate.html Source Files ¶ View all Source files client.go provider.go Directories ¶ Show internal Expand all Path Synopsis response Click to show internal directories. Click to hide internal directories.