server

package
v0.0.0-...-8c6f8b2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

type DevServer

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

func NewDevServer

func NewDevServer(server *http.Server) *DevServer

func (*DevServer) Run

func (ds *DevServer) Run() error

type ProdServer

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

func NewPordServer

func NewPordServer(server *http.Server) *ProdServer

func (*ProdServer) Run

func (ps *ProdServer) Run() error

type Server

type Server interface {
	Run() error
}

Jump to

Keyboard shortcuts

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