Back to godoc.org

Package auth

v3.1.0-rc.1.0...-90d9a93
Latest Go to latest

The latest major version is .

Published: Feb 26, 2020 | Licenses: Apache-2.0 , BSD-2-Clause , BSD-3-Clause , MIT , MPL-2.0 | Module: github.com/Tencent/bk-cmdb

Index

type Auth

type Auth interface {
	ValidResAccess(pathArr []string, c *gin.Context) bool
}

func NewAuth

func NewAuth() Auth

NewUser return user instance by type

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier