Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdminAuth = APIKeySecurity("adminAuth", func() {
Description("トークン(admin)")
Header("X-Authorization")
})
管理者しか使えない機能
View Source
var CorsConfig = map[string]*goacors.GoaCORSConfig{
"develop": devCORS,
"staging": stagingCORS,
"production": productionCORS,
}
View Source
var GAECronAuth = APIKeySecurity("gaeCronAuth", func() {
Description("gae cron")
Header("X-Appengine-Cron")
})
cron
View Source
var GeneralAuth = APIKeySecurity("generalAuth", func() {
Description("トークン(general)")
Header("X-Authorization")
})
ユーザーしか使えない機能
View Source
var GuestAuth = APIKeySecurity("guestAuth", func() {
Description("トークン(guest)")
Header("X-Authorization")
})
ゲストでも使える機能
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.