Documentation
¶
Index ¶
- func CallWxmp(cfgName string, genParams FnGeneParams, method string, ...) error
- func FetchBody(cfgName string, genParams FnGeneParams, method string, ...) (string, io.ReadCloser, error)
- func GetPaidUnionIdByTradeNo(cfgName string, openId string, mchId, outTradeNo string) (unionId string, err error)
- func GetPaidUnionIdByTxId(cfgName string, openId string, txId string) (unionId string, err error)
- type AccessToken
- type FnGeneParams
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallWxmp ¶
func CallWxmp(cfgName string, genParams FnGeneParams, method string, call callwxmp.FnCallWxmp, res callwxmp.WxmpResult) error
func FetchBody ¶
func FetchBody(cfgName string, genParams FnGeneParams, method string, getBody callwxmp.FnGetBody) (string, io.ReadCloser, error)
Types ¶
type AccessToken ¶
type AccessToken struct {
// contains filtered or unexported fields
}
func NewAccessToken ¶
func NewAccessToken(name string) *AccessToken
func (*AccessToken) Get ¶
func (token *AccessToken) Get() (string, error)
type FnGeneParams ¶
Click to show internal directories.
Click to hide internal directories.