Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StructResource ¶
func StructResource(typ string, v interface{}) authr.Resource
StructResource accepts a string that indicates the "rsrc_type" of a resource, and the struct that needs to be acceptable as an authr.Resource. This function will panic if v is NOT a struct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.