acl

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	Method     string
	Path       string
	RemoteAddr *string `yaml:"remote_addr"`
	CommonName *string `yaml:"cert.cn"`
	Issuer     *string `yaml:"issuer.cn"`
	KeyId      *string
	Action     string
}

type Acl

type Acl struct {
	Acl []Access
}

func (*Acl) CheckRequest

func (acl *Acl) CheckRequest(req *http.Request) bool

func (*Acl) InitDefault

func (acl *Acl) InitDefault()

Jump to

Keyboard shortcuts

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