Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cago ¶
type Cago struct {
// contains filtered or unexported fields
}
func (*Cago) RegistryCancel ¶
func (r *Cago) RegistryCancel(component ComponentCancel) *Cago
RegistryCancel 注册cancel组件
type CloseHandle ¶
type CloseHandle func()
type ComponentCancel ¶
type FuncComponent ¶
func (FuncComponent) CloseHandle ¶
func (f FuncComponent) CloseHandle()
type FuncComponentCancel ¶
type FuncComponentCancel func(ctx context.Context, cancel context.CancelFunc, cfg *configs.Config) error
func (FuncComponentCancel) CloseHandle ¶
func (f FuncComponentCancel) CloseHandle()
func (FuncComponentCancel) StartCancel ¶
func (f FuncComponentCancel) StartCancel(ctx context.Context, cancel context.CancelFunc, cfg *configs.Config) error
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
database
|
|
examples
|
|
simple/docs
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag at 2024-01-05 15:41:56.648995 +0800 CST m=+0.085785210
|
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag at 2024-01-05 15:41:56.648995 +0800 CST m=+0.085785210 |
internal
|
|
pkg
|
|
server
|
|
Click to show internal directories.
Click to hide internal directories.