admin

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthMiddleware

func NewAuthMiddleware() *authMiddleware

Types

type Client

type Client interface {
	// RemoveParticipantHandler removes single participant and its dependencies
	RemoveParticipantHandler() func(w http.ResponseWriter, r *http.Request)
	// ResetEnvironmentHandler resets the environment completely by removing all participants and their dependencies
	ResetEnvironmentHandler() func(w http.ResponseWriter, r *http.Request)
	GetParticipantsHandler() func(w http.ResponseWriter, r *http.Request)
}

func MustNewAdminClient

func MustNewAdminClient() Client

Jump to

Keyboard shortcuts

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