handlers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLink(w http.ResponseWriter, r *http.Request)

func CheckSubmodule

func CheckSubmodule(w http.ResponseWriter, r *http.Request)

func Config

func Config(ctx context.Context) config.Config

func CtxConfig

func CtxConfig(entry config.Config, ctx context.Context) context.Context

func CtxLinksQ

func CtxLinksQ(entry data.Links) func(context.Context) context.Context

func CtxLog

func CtxLog(entry *logan.Entry) func(context.Context) context.Context

func CtxParentContext

func CtxParentContext(entry context.Context) func(context.Context) context.Context

func CtxPermissionsQ

func CtxPermissionsQ(entry data.Permissions) func(context.Context) context.Context

func CtxUsersQ

func CtxUsersQ(entry data.Users) func(context.Context) context.Context

func GetEstimatedRefreshModule

func GetEstimatedRefreshModule(w http.ResponseWriter, r *http.Request)

func GetEstimatedRefreshSubmodule

func GetEstimatedRefreshSubmodule(w http.ResponseWriter, r *http.Request)

func GetInputs

func GetInputs(w http.ResponseWriter, r *http.Request)

func GetPermissions

func GetPermissions(w http.ResponseWriter, r *http.Request)

func GetRolesMap

func GetRolesMap(w http.ResponseWriter, r *http.Request)

func GetUnverifiedUsers

func GetUnverifiedUsers(w http.ResponseWriter, r *http.Request)

func GetUserById

func GetUserById(w http.ResponseWriter, r *http.Request)

func GetUserRolesMap

func GetUserRolesMap(w http.ResponseWriter, r *http.Request)

func GetUsers

func GetUsers(w http.ResponseWriter, r *http.Request)

func LinksQ

func LinksQ(r *http.Request) data.Links

func Log

func Log(r *http.Request) *logan.Entry

func ParentContext

func ParentContext(ctx context.Context) context.Context

func PermissionsQ

func PermissionsQ(r *http.Request) data.Permissions
func RemoveLink(w http.ResponseWriter, r *http.Request)

func UsersQ

func UsersQ(r *http.Request) data.Users

Types

type ModuleRoles

type ModuleRoles struct {
	resources.Key
	Attributes Roles `json:"attributes"`
}

type ModuleRolesResponse

type ModuleRolesResponse struct {
	Data ModuleRoles `json:"data"`
}

type Roles

type Roles map[string]string

Jump to

Keyboard shortcuts

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