server

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(client libvirtclient.ClientInterface, assets embed.FS) *Server

func (*Server) GetAPIKey

func (s *Server) GetAPIKey() string

GetAPIKey returns the server's API key (for CLI usage)

func (*Server) Start

func (s *Server) Start(addr string) error

Start starts the HTTP server with graceful shutdown

Jump to

Keyboard shortcuts

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