Documentation ¶
Index ¶
- type Ratel
- func (app *Ratel) GracefulStop(ctx context.Context) (err error)
- func (app *Ratel) Registry(reg registry.Registry) *Ratel
- func (app *Ratel) Run(servers ...server.Server) error
- func (app *Ratel) Serve(s ...server.Server) error
- func (app *Ratel) Startup(fns ...func() error) error
- func (app *Ratel) Stop() (err error)
- func (app *Ratel) Tracer(name, host string) *Ratel
- func (app *Ratel) Worker(w worker.Worker) *Ratel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ratel ¶
type Ratel struct {
// contains filtered or unexported fields
}
Ratel Create an instance of Application, by using &Ratel{}
func (*Ratel) GracefulStop ¶
GracefulStop application after necessary cleanup
Directories ¶
Path | Synopsis |
---|---|
client
|
|
dotnev
Package dotnev provide load .env data to os ENV
|
Package dotnev provide load .env data to os ENV |
toml
Package toml is driver use TOML format content as config source Usage please see example:
|
Package toml is driver use TOML format content as config source Usage please see example: |
yaml
Package yaml is a driver use YAML format content as config source Usage please see example:
|
Package yaml is a driver use YAML format content as config source Usage please see example: |
Package cron implements a cron spec parser and job runner.
|
Package cron implements a cron spec parser and job runner. |
sysinfo
|
|
Click to show internal directories.
Click to hide internal directories.