RESTCommands

package
v0.0.0-...-8ea8743 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDefaults

func AddDefaults(server *Server.RServer)

AddDefaults adds defaults

func SetDefaultFunctionalMap

func SetDefaultFunctionalMap(server *Server.RServer)

SetDefaultFunctionalMap this sets the defaults

Types

type RServerCommand

type RServerCommand struct {
	Server *Server.RServer
}

RServerCommand this is commands to the server - these are default examples

func (RServerCommand) ListCommands

func (rsc RServerCommand) ListCommands(request Request.ServerRequest)

ListCommands this list commands

func (RServerCommand) LoadConfig

func (rsc RServerCommand) LoadConfig(request Request.ServerRequest)

LoadConfig loads the server config from disk

func (RServerCommand) SaveConfig

func (rsc RServerCommand) SaveConfig(request Request.ServerRequest)

SaveConfig saves the server config from disk

func (RServerCommand) ShutDown

func (rsc RServerCommand) ShutDown(request Request.ServerRequest)

ShutDown this shutdowns the webserver

Jump to

Keyboard shortcuts

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