Back to godoc.org

Package web

v0.0.0-...-4c53254
Latest Go to latest

The latest major version is .

Published: Oct 14, 2015 | License: MIT | Module: github.com/aiyi/go-user

Index

func AuthHandler

func AuthHandler(ctx *gin.Context)

微信 oauth2 认证

需要提供 code, state 参数.

func AuthURLHandler

func AuthURLHandler(ctx *gin.Context)

获取微信认证页面的 url

需要提供 redirect_uri
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier