authrutil

package
v2.0.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL