gof

package module
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 6 Imported by: 0

README

gof

easy way for jsonrpc api, depend on gin

use

go get -u github.com/atcharles/gof/v2

Documentation

Index

Constants

This section is empty.

Variables

App ...

Functions

This section is empty.

Types

type Application

type Application struct {
	Config *g2util.Config `inject:""`

	Logger   g2util.LevelLogger `inject:""`
	Cron     *g2util.G2cron     `inject:""`
	G2cache  *g2util.G2cache    `inject:""`
	G2resty  *g2util.RestyAgent `inject:""`
	AbFile   *g2util.AbFile     `inject:""`
	Graceful *g2util.Graceful   `inject:""`
	Go       *g2util.GoPool     `inject:""`
	Gin      *g2gin.G2gin       `inject:""`
	G2cmd    *g2cmd.G2cmd       `inject:""`
	Mysql    *g2db.Mysql        `inject:""`
	Token    *g2db.Token        `inject:""`
	// contains filtered or unexported fields
}

Application ...

func (*Application) Default

func (a *Application) Default() *Application

Default ...

func (*Application) Populate

func (a *Application) Populate() *Application

Populate ...

func (*Application) Run

func (a *Application) Run()

Run ...

func (*Application) RunDefault added in v2.0.4

func (a *Application) RunDefault(val interface{})

RunDefault ...

func (*Application) RunServices added in v2.0.3

func (a *Application) RunServices(val interface{})

RunServices ...

func (*Application) RunWithCmd added in v2.0.3

func (a *Application) RunWithCmd(fn ...func())

RunWithCmd ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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