http

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Static  embed.FS
	Version string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(uri, version string, static embed.FS) (*Server, error)

func (*Server) Initialize

func (s *Server) Initialize(filename string, reindex bool) error

func (*Server) Run

func (s *Server) Run(port int) error

func (*Server) Verify

func (s *Server) Verify() error

Jump to

Keyboard shortcuts

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