server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(path, addr string, readTimeout time.Duration) *http.Server

Types

type Keyserver

type Keyserver struct {
	StaticPath string
}

func NewKeyserver

func NewKeyserver(staticPath string) *Keyserver

func (*Keyserver) ServeHTTP

func (k *Keyserver) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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