netgo

package module
Version: v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 9

README

netgo

A collection of tools and utilities to aid in web server development.

  • netserver - a Go implementation of a static website server.
  • logparser - a tool to parse log files and populate a database.
  • logserver - a tool for visualizing and analysing log data.

Documentation

Index

Constants

View Source
const HTTPS = "HTTPS"
View Source
const LIVE = "LIVE"

Variables

This section is empty.

Functions

func BooleanFlag added in v1.2.6

func BooleanFlag(name string) bool

func HTTPSRedirect

func HTTPSRedirect(host string, paths map[string]bool) func(http.ResponseWriter, *http.Request)

func IsLive added in v1.2.6

func IsLive() bool

func IsRequestLog added in v1.3.0

func IsRequestLog(sources []string, line string) bool

func IsSecure added in v1.2.6

func IsSecure() bool

func LogRequest added in v1.3.0

func LogRequest(r *http.Request)

func ParseInt added in v1.2.9

func ParseInt(s string) int64

func ParseRequestLog added in v1.3.0

func ParseRequestLog(line string) (int64, []string, map[string]string, error)

func QueryParameter added in v1.2.0

func QueryParameter(query url.Values, parameter string) string

func SetupLogging added in v1.3.0

func SetupLogging() (*os.File, error)

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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