services

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(uid string) (bool, error)

Check : Check if current request is within the config

func CreateOrUpdateConfig

func CreateOrUpdateConfig(uid string, config models.Config) error

CreateOrUpdateConfig : CRUD

func DeleteConfig

func DeleteConfig(uid string) error

DeleteConfig : CRUD

func FetchConfig

func FetchConfig(uid string) (models.Config, error)

FetchConfig : If config cannot be found locally, fallback to the policy service hook

func GetConfig

func GetConfig(uid string) (models.Config, error)

GetConfig : CRUD

Types

This section is empty.

Jump to

Keyboard shortcuts

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