pasrv

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: BSD-3-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cred

type Cred struct {
	Domain  string
	Expires string
	Valid   bool
}

type Server

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

func New

func New(addr, prefix, cfg, cache, cookies string) (*Server, error)

func (*Server) Close

func (srv *Server) Close() (err error)

func (*Server) Run

func (srv *Server) Run() error

func (*Server) ServeHTTP

func (srv *Server) 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