# Functions

GetJSONString get a string field from http request body.
LogRequest print request headers.
NewGiftCardRouter create a new instance of GiftCardRouter.
No description provided by the author
NewPaywallRouter creates a new instance of pricing router.
NewStripeRouter initializes StripeRouter.
No description provided by the author
NewWxAuth creates a new WxLoginRouter instance.
NoCache set Cache-Control request header.
No description provided by the author
RequireFtcID middleware makes sure all request header contains `X-User-Id` field.
CheckUserID middleware makes sure all request header contains `X-User-Id` field.
CheckUnionID middleware makes sure all request header contains `X-Union-Id` field.

# Structs

No description provided by the author
No description provided by the author
PaywallRouter handles pricing plans.
No description provided by the author
SubsRouter is the base type used to handle shared payment operations.
WxAuthRouter handles wechat login.