server

package
v0.0.0-...-efca985 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(a *app.App, c *config.Config, log *logrus.Logger)

New provides start of the server

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server provides definition

func (*Server) Apply

func (s *Server) Apply(w http.ResponseWriter, r *http.Request)

Apply provides execution of the list of commands

func (*Server) Exec

func (s *Server) Exec(w http.ResponseWriter, r *http.Request)

Exec provides execution of commands

func (*Server) Info

func (s *Server) Info(w http.ResponseWriter, r *http.Request)

func (*Server) List

func (s *Server) List(w http.ResponseWriter, r *http.Request)

List returns list of nodes

Jump to

Keyboard shortcuts

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