server

package
v0.0.0-...-c490ea4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package server contains the bulk of the API and UI code.

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
}

Server handles the HTTP API and the UI.

func New

func New(flags *pflag.FlagSet) *Server

New constructs a Server that will be configured by the flag set.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run blocks until the context is cancelled.

Directories

Path Synopsis
Package response contains utility functions for creating HTTP responses.
Package response contains utility functions for creating HTTP responses.

Jump to

Keyboard shortcuts

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