serve

package
v0.0.0-...-ff15c93 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package serve Powerlab API

Serves consolidated view of multiple IPMI/DRAC/iLO implementations.

Schemes: http, https
Host: localhost
BasePath: /api
Version: 1.0
Contact: Andrew Jenkins <andrewjjenkins@gmail.com>

Consumes:
- application/json

Produces:
- application/json
- text/plain

swagger:meta

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(inServer *http.Server, serverManager *serverServerModule.ServerManager, devMode bool)

Types

type VersionResponseBody

type VersionResponseBody struct {
	// Required: true
	Major int `json:"major"`
	// Required: true
	Minor int `json:"minor"`
	// Required: true
	Build string `json:"build"`
}

VersionResponse describes the version of the server and API to clients swagger:model versionResponse

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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