server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: MIT Imports: 6 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 {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(source map[string]source.Source) *Server

func (*Server) ASN

func (s *Server) ASN(rw http.ResponseWriter, r *http.Request)

func (*Server) City

func (s *Server) City(rw http.ResponseWriter, r *http.Request)

func (*Server) Country

func (s *Server) Country(rw http.ResponseWriter, r *http.Request)

func (*Server) Index

func (s *Server) Index(rw http.ResponseWriter, r *http.Request)

func (*Server) ServeMux

func (s *Server) ServeMux() *http.ServeMux

Jump to

Keyboard shortcuts

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