Documentation ¶
Index ¶
- Constants
- func GetOpenPlatformEvent(infoType string) int
- type Guard
- func (guard *Guard) DecryptEvent(content string) (bufDecrypted []byte, err error)
- func (guard *Guard) GetMessage(request *http.Request) (verifyTicket *response2.ResponseVerifyTicket, err error)
- func (guard *Guard) Notify(request *http.Request, ...) (httpRS *http.Response, err error)
- func (guard *Guard) OverrideResolve()
Constants ¶
View Source
const EVENT_AUTHORIZED int = 12000 // "authorized"
View Source
const EVENT_COMPONENT_VERIFY_TICKET int = 12004 // "component_verify_ticket"
View Source
const EVENT_THIRD_FAST_REGISTERED int = 120005 // "notify_third_fasteregister"
View Source
const EVENT_UNAUTHORIZED int = 12002 // "unauthorized"
View Source
const EVENT_UPDATE_AUTHORIZED int = 12003 // "updateauthorized"
Variables ¶
This section is empty.
Functions ¶
func GetOpenPlatformEvent ¶
Types ¶
type Guard ¶
type Guard struct {
*kernel.ServerGuard
}
func NewGuard ¶
func NewGuard(app *kernel.ApplicationInterface) *Guard
func RegisterProvider ¶
func (*Guard) DecryptEvent ¶
func (*Guard) GetMessage ¶
Click to show internal directories.
Click to hide internal directories.