auth

package
v0.0.0-...-5431711 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowRoles

func AllowRoles(method string, roles []pb.Role) bool

AllowRoles whether allow roles

func Parse

func Parse(filename string) *protobuf.FileDescriptorProto

Parse file descriptor for specific filename

Types

type MethodRoles

type MethodRoles map[pb.Role]bool

MethodRoles roles

Jump to

Keyboard shortcuts

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