Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordRequest ¶ added in v1.1.6
Types ¶
type Application ¶
type Application interface {
Etc(config interface{}, callback func(etc.Loader)) error
EnableWeb(listen string, components ...server.Component) Application
EnableStaticWeb(home string, asset func(string) ([]byte, error), assetNames func() []string) Application
EnableDatabase(config persistence.BaseConfig, models ...interface{}) Application
ComponentBefore(component func(context.Context) (err error)) Application
ComponentAfter(component func(context.Context) (err error)) Application
Start() (err error)
}
func New ¶
func New(ctx context.Context) (instance Application)
type Monitor ¶ added in v1.1.6
type PagerResponse ¶ added in v1.1.3
type Response ¶ added in v1.1.3
type Response struct {
Code interface{} `json:"code,omitempty"`
Success interface{} `json:"success,omitempty"`
Message string `json:"message,omitempty"`
}
func (*Response) SetSuccess ¶ added in v1.1.3
Source Files
¶
Click to show internal directories.
Click to hide internal directories.