server

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomicBool added in v0.0.9

type AtomicBool int32

func (*AtomicBool) IsSet added in v0.0.9

func (b *AtomicBool) IsSet() bool

func (*AtomicBool) SetFalse added in v0.0.9

func (b *AtomicBool) SetFalse()

func (*AtomicBool) SetTrue added in v0.0.9

func (b *AtomicBool) SetTrue()

type UncorsServer added in v0.0.9

type UncorsServer struct {
	*http.Server
	// contains filtered or unexported fields
}

func NewUncorsServer added in v0.0.9

func NewUncorsServer(ctx context.Context, handler http.Handler) *UncorsServer

func (*UncorsServer) Close added in v0.0.9

func (srv *UncorsServer) Close() error

func (*UncorsServer) ListenAndServe added in v0.0.9

func (srv *UncorsServer) ListenAndServe(addr string) error

func (*UncorsServer) ListenAndServeTLS added in v0.0.9

func (srv *UncorsServer) ListenAndServeTLS(addr string, certFile, keyFile string) error

func (*UncorsServer) Shutdown added in v0.0.9

func (srv *UncorsServer) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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