Documentation ¶
Index ¶
- type App
- func (app *App) IgnoreMainConfigMissing()
- func (app *App) Init(customFunc func())
- func (app *App) Run()
- func (app *App) Setup(setup func(), start func(), stop func()) (allowContinue bool)
- func (app *App) Shutdown()
- func (p *App) Start(s service.Service) error
- func (p *App) Stop(s service.Service) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
core
|
|
api/router
Package httprouter is a trie based high performance HTTP request router.
|
Package httprouter is a trie based high performance HTTP request router. |
config
Package config , actually copied from github.com/elastic/beats
|
Package config , actually copied from github.com/elastic/beats |
errors
multierror is a simple Go package for combining multiple errors together.
|
multierror is a simple Go package for combining multiple errors together. |
radix
Package glob provides a trie(also known as prefix-tree) that supports wildcard *.
|
Package glob provides a trie(also known as prefix-tree) that supports wildcard *. |
rotate
Package lumberjack provides a rolling logger.
|
Package lumberjack provides a rolling logger. |
rpc
Package grpcpool provides a pool of grpc clients https://github.com/processout/grpc-go-pool/blob/master/LICENSE
|
Package grpcpool provides a pool of grpc clients https://github.com/processout/grpc-go-pool/blob/master/LICENSE |
trie
Package trie implements several types of performant Tries (e.g.
|
Package trie implements several types of performant Tries (e.g. |
util
https://ericchiang.github.io/post/go-tls/
|
https://ericchiang.github.io/post/go-tls/ |
util/file
Package file copied from github.com/elastic/beats https://github.com/elastic/beats/blob/master/LICENSE Licensed under the Apache License, Version 2.0 (the "License");
|
Package file copied from github.com/elastic/beats https://github.com/elastic/beats/blob/master/LICENSE Licensed under the Apache License, Version 2.0 (the "License"); |
lib
|
|
bytebufferpool
Package bytebufferpool implements a pool of byte buffers with anti-fragmentation protection.
|
Package bytebufferpool implements a pool of byte buffers with anti-fragmentation protection. |
cache
An LRU cached aimed at high concurrency
|
An LRU cached aimed at high concurrency |
fasthttp
Package fasthttp provides fast HTTP server and client API.
|
Package fasthttp provides fast HTTP server and client API. |
fasthttp/expvarhandler
Package expvarhandler provides fasthttp-compatible request handler serving expvars.
|
Package expvarhandler provides fasthttp-compatible request handler serving expvars. |
fasthttp/fasthttpadaptor
Package fasthttpadaptor provides helper functions for converting net/http request handlers to fasthttp request handlers.
|
Package fasthttpadaptor provides helper functions for converting net/http request handlers to fasthttp request handlers. |
fasthttp/fasthttputil
Package fasthttputil provides utility functions for fasthttp.
|
Package fasthttputil provides utility functions for fasthttp. |
fasthttp/reuseport
Package reuseport provides TCP net.Listener with SO_REUSEPORT support.
|
Package reuseport provides TCP net.Listener with SO_REUSEPORT support. |
fasthttp/stackless
Package stackless provides functionality that may save stack space for high number of concurrently running goroutines.
|
Package stackless provides functionality that may save stack space for high number of concurrently running goroutines. |
fastjson_marshal
Package fastjson provides a library for fast JSON encoding, optimised for static code generation.
|
Package fastjson provides a library for fast JSON encoding, optimised for static code generation. |
fasttemplate
Package fasttemplate implements simple and fast template library.
|
Package fasttemplate implements simple and fast template library. |
go-ucfg
Package ucfg provides a common representation for hierarchical configurations.
|
Package ucfg provides a common representation for hierarchical configurations. |
guardian
Package guardian .
|
Package guardian . |
guardian/auth/claims
Package claims collects common jwt types.
|
Package claims collects common jwt types. |
guardian/auth/internal
Package internal contains support & helpers for go-guardian packages.
|
Package internal contains support & helpers for go-guardian packages. |
guardian/auth/strategies/basic
Package basic provides authentication strategy, to authenticate HTTP requests using the standard basic scheme.
|
Package basic provides authentication strategy, to authenticate HTTP requests using the standard basic scheme. |
guardian/auth/strategies/digest
Package digest provides authentication strategy, to authenticate HTTP requests using the standard digest scheme as described in RFC 7616.
|
Package digest provides authentication strategy, to authenticate HTTP requests using the standard digest scheme as described in RFC 7616. |
guardian/auth/strategies/jwt
Package jwt provides authentication strategy, to authenticate HTTP requests based on jwt token.
|
Package jwt provides authentication strategy, to authenticate HTTP requests based on jwt token. |
guardian/auth/strategies/kubernetes
Package kubernetes provide auth strategy to authenticate, incoming HTTP requests using a Kubernetes Service Account Token.
|
Package kubernetes provide auth strategy to authenticate, incoming HTTP requests using a Kubernetes Service Account Token. |
guardian/auth/strategies/ldap
Package ldap provides authentication strategy, to authenticate HTTP requests and builds, extracts user informations from LDAP Server.
|
Package ldap provides authentication strategy, to authenticate HTTP requests and builds, extracts user informations from LDAP Server. |
guardian/auth/strategies/oauth2/introspection
Package introspection provide auth strategy to authenticate, incoming HTTP requests using the oauth2 token introspection endpoint, as defined in RFC 7662.
|
Package introspection provide auth strategy to authenticate, incoming HTTP requests using the oauth2 token introspection endpoint, as defined in RFC 7662. |
guardian/auth/strategies/oauth2/jwt
Package jwt provides authentication strategy, incoming HTTP requests using the oauth2 jwt access token or openid IDToken.
|
Package jwt provides authentication strategy, incoming HTTP requests using the oauth2 jwt access token or openid IDToken. |
guardian/auth/strategies/oauth2/userinfo
Package userinfo provide auth strategy to authenticate, incoming HTTP requests using the oauth2/openid userinfo endpoint, as defined in OpenID Connect https://openid.net/specs/openid-connect-core-1_0.html#UserInfo.
|
Package userinfo provide auth strategy to authenticate, incoming HTTP requests using the oauth2/openid userinfo endpoint, as defined in OpenID Connect https://openid.net/specs/openid-connect-core-1_0.html#UserInfo. |
guardian/auth/strategies/token
Package token provides authentication strategy, to authenticate HTTP requests based on token.
|
Package token provides authentication strategy, to authenticate HTTP requests based on token. |
guardian/auth/strategies/twofactor
Package twofactor provides authentication strategy, to authenticate HTTP requests based on one time password(otp).
|
Package twofactor provides authentication strategy, to authenticate HTTP requests based on one time password(otp). |
guardian/auth/strategies/x509
Package x509 provides authentication strategy, to authenticate HTTPS requests and builds, extracts user informations from client certificates.
|
Package x509 provides authentication strategy, to authenticate HTTPS requests and builds, extracts user informations from client certificates. |
guardian/otp
Package otp (one-time passwords) provides a simple, clean, and idiomatic way for generating and verifying one-time passwords for both HOTP and TOTP defined in RFC 4226 and 6238.
|
Package otp (one-time passwords) provides a simple, clean, and idiomatic way for generating and verifying one-time passwords for both HOTP and TOTP defined in RFC 4226 and 6238. |
lock_free/queue
esQueue
|
esQueue |
router
Package router is a trie based high performance HTTP request router.
|
Package router is a trie based high performance HTTP request router. |
status
©INFINI, All Rights Reserved.
|
©INFINI, All Rights Reserved. |
modules
|
|
queue/mem_queue
Package queue implements a double-ended queue (aka "deque") data structure on top of a slice.
|
Package queue implements a double-ended queue (aka "deque") data structure on top of a slice. |
plugins
|
|
Click to show internal directories.
Click to hide internal directories.