Documentation ¶
Index ¶
Constants ¶
View Source
const (
SESSION_TOKEN_KEY = "X-Session-Token"
)
Variables ¶
This section is empty.
Functions ¶
func Routes ¶
参考: https://github.com/konjoot/microservice_experiments/blob/master/gin-gonic/src/router/router.go
func TokenMiddleWare ¶
func TokenMiddleWare() gin.HandlerFunc
Types ¶
type OAuthController ¶
認証コントローラー
func NewOauthController ¶
func NewOauthController(user oauth.User) OAuthController
func (OAuthController) CallBack ¶
func (self OAuthController) CallBack() gin.HandlerFunc
CallBack処理を行う
type PushNotificationController ¶
type PushNotificationController struct{}
func (PushNotificationController) Send ¶
func (push PushNotificationController) Send() gin.HandlerFunc
push送信
type UserController ¶
type UserController struct{}
ユーザーコントローラー
func (UserController) RegistrationID ¶
func (user UserController) RegistrationID() gin.HandlerFunc
registration idを登録する
Click to show internal directories.
Click to hide internal directories.