Documentation ¶
Index ¶
- Constants
- Variables
- func Logo(version string) string
- type App
- func (app *App) Close() error
- func (app *App) HTTPAddr() net.Addr
- func (app *App) HTTPSAddr() net.Addr
- func (app *App) Restart(ctx context.Context, uncorsConfig *config.UncorsConfig)
- func (app *App) Shutdown(ctx context.Context) error
- func (app *App) Start(ctx context.Context, uncorsConfig *config.UncorsConfig)
- func (app *App) Wait()
Constants ¶
View Source
const DisclaimerMessage = `` /* 155-byte string literal not displayed */
View Source
const NewVersionIsAvailable = `` /* 135-byte string literal not displayed */
Variables ¶
View Source
var ( ProxyLogger = log.NewLogger(" PROXY ", style(pterm.FgBlack, pterm.BgLightBlue)) MockLogger = log.NewLogger(" MOCK ", style(pterm.FgBlack, pterm.BgLightMagenta)) StaticLogger = log.NewLogger(" STATIC ", style(pterm.FgBlack, pterm.BgLightWhite)) CacheLogger = log.NewLogger(" CACHE ", style(pterm.FgBlack, pterm.BgLightYellow)) )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.