server

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(r *http.ServeMux, b *Backend)

Types

type Backend

type Backend struct {
	Agent *hostagent.HostAgent
}

func (*Backend) GetInfo

func (b *Backend) GetInfo(w http.ResponseWriter, r *http.Request)

GetInfo is the handler for GET /v1/info.

Jump to

Keyboard shortcuts

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