index

package
v0.0.0-...-12f948b Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTags

func CheckTags(tags string) error

Types

type Server

type Server struct {
	DB         db.DB
	Cfg_scrape *config.ScrapeConfig
	// contains filtered or unexported fields
}

func New

func New(cfg *config.IndexConfig) (s *Server)

func (*Server) Error

func (s *Server) Error(w http.ResponseWriter, msg string, j bool)

func (*Server) NotFound

func (s *Server) NotFound(w http.ResponseWriter, p map[string]interface{}, j bool)

func (*Server) ServeHTTP

func (s *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