app

package
v0.0.0-...-c8dbcfe Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, opts ...Option) (func(), error)

func InitCaptcha

func InitCaptcha()

func InitHTTPServer

func InitHTTPServer(ctx context.Context, handler http.Handler) func()

func InitLogger

func InitLogger() (func(), error)

func InitMonitor

func InitMonitor(ctx context.Context) func()

func Run

func Run(ctx context.Context, opts ...Option) error

Types

type Option

type Option func(*options)

func SetConfigFile

func SetConfigFile(s string) Option

func SetMenuFile

func SetMenuFile(s string) Option

func SetModelFile

func SetModelFile(s string) Option

func SetPolicyFile

func SetPolicyFile(s string) Option

func SetVersion

func SetVersion(s string) Option

func SetWWWDir

func SetWWWDir(s string) Option

Jump to

Keyboard shortcuts

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