g

module
v0.2.52 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT

README

g

global go lib

go env config

env_prefix="app env prefix" # default ggg

warning

建议不要使用,还在积极开发中

It is not recommended to use, and it is still under active development.

Directories

Path Synopsis
example
cc
log
tag
pkg
null
Package null contains SQL types that consider zero input and null input as separate values, with convenient support for JSON and text marshaling.
Package null contains SQL types that consider zero input and null input as separate values, with convenient support for JSON and text marshaling.
structutil
Package structs contains various utilities functions to work with structs.
Package structs contains various utilities functions to work with structs.
tableutil
Package table provides a convenient way to generate tabular output of any data, primarily useful for CLI tools.
Package table provides a convenient way to generate tabular output of any data, primarily useful for CLI tools.
timeutil
Package now is a time toolkit for golang.
Package now is a time toolkit for golang.
abc
browse
Package browse provides middleware for listing files in a directory when directory path is requested instead of a specific file.
Package browse provides middleware for listing files in a directory when directory path is requested instead of a specific file.
header
Package header provides middleware that appends headers to requests based on a set of configuration rules that define which routes receive which headers.
Package header provides middleware that appends headers to requests based on a set of configuration rules that define which routes receive which headers.
internalsrv
Package internalsrv provides a simple middleware that (a) prevents access to internal locations and (b) allows to return files from internal location by setting a special header, e.g.
Package internalsrv provides a simple middleware that (a) prevents access to internal locations and (b) allows to return files from internal location by setting a special header, e.g.
ip
jwt
markdown
Package markdown is middleware to render markdown files as HTML on-the-fly.
Package markdown is middleware to render markdown files as HTML on-the-fly.
proxy
Package proxy is middleware that proxies HTTP requests.
Package proxy is middleware that proxies HTTP requests.
redirect/redirect
Package redirect is middleware for redirecting certain requests to other locations.
Package redirect is middleware for redirecting certain requests to other locations.
static/staticfiles
Package staticfiles provides middleware for serving static files from disk.
Package staticfiles provides middleware for serving static files from disk.
tls
Package caddytls facilitates the management of TLS assets and integrates Let's Encrypt functionality into Caddy with first-class support for creating and renewing certificates automatically.
Package caddytls facilitates the management of TLS assets and integrates Let's Encrypt functionality into Caddy with first-class support for creating and renewing certificates automatically.
websocket
Package websocket implements a WebSocket server by executing a command and piping its input and output through the WebSocket connection.
Package websocket implements a WebSocket server by executing a command and piping its input and output through the WebSocket connection.
xservice
db
jwt
nkeys
Package nkeys is an Ed25519 based public-key signature system that simplifies keys and seeds and performs signing and verification.
Package nkeys is an Ed25519 based public-key signature system that simplifies keys and seeds and performs signing and verification.
oss
xdb
xstorage
abc
es
oss
xtp
xobj
doc https://godoc.org/github.com/stretchr/objx
doc https://godoc.org/github.com/stretchr/objx

Jump to

Keyboard shortcuts

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