webapi

package
v0.0.0-...-aefcfe0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebAPI

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

WebAPI represents all the data related to webapi

func NewWebAPI

func NewWebAPI(addr string, qs *queue.Queue, allowedUnits []string, version version.Version, defaultValidateSignature bool) *WebAPI

NewWebAPI initializes web api with routes

func (*WebAPI) Serve

func (wa *WebAPI) Serve()

Serve starts the web server

Jump to

Keyboard shortcuts

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