Documentation ¶
Overview ¶
Binds onto eureka uapi
Index ¶
- Constants
- func Authorize(r uapi.Route, req *http.Request) (uapi.AuthData, uapi.HttpResponse, bool)
- func HandlePermissionCheck(userId, guildId, command string, permLimits []string) (hresp uapi.HttpResponse, ok bool)
- func PermLimits(d uapi.AuthData) []string
- func Setup()
- type DefaultResponder
- type PermissionCheck
Constants ¶
View Source
const ( PERMISSION_CHECK_KEY = "permissionCheck" SESSION_EXPIRY = 60 * 30 // 30 minutes )
Variables ¶
This section is empty.
Functions ¶
func HandlePermissionCheck ¶
func HandlePermissionCheck( userId, guildId, command string, permLimits []string, ) (hresp uapi.HttpResponse, ok bool)
func PermLimits ¶
Types ¶
type DefaultResponder ¶
type DefaultResponder struct{}
Click to show internal directories.
Click to hide internal directories.