Documentation ¶
Overview ¶
* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache
* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache
Index ¶
Constants ¶
View Source
const RolePrefix string = "/theliv/roles/"
View Source
const UIDPrefix string = "/theliv/uids/"
View Source
const URLPrefix string = "/theliv-api/v1"
Variables ¶
View Source
var ErrNotThisAuth = errors.New("not this Auth method")
Functions ¶
func KeyMatch ¶
KeyMatch determines whether key1 matches the pattern of key2 (similar to RESTful path), key2 can contain a *. For example, "/foo/bar" matches "/foo/*" Ref: https://github.com/casbin/casbin/blob/master/util/builtin_operators.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.