admin

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultListenAddr = "0.0.0.0:8080"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	Config      *util.Config
	BBCExecutor *bbc.Executor
}

func NewAdmin

func NewAdmin(config *util.Config, executor *bbc.Executor) *Admin

func (*Admin) Endpoints

func (admin *Admin) Endpoints(w http.ResponseWriter, r *http.Request)

func (*Admin) Serve

func (admin *Admin) Serve()

func (*Admin) SkipSequence

func (admin *Admin) SkipSequence(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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