Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppProviderSet = wire.NewSet( NewApplication, )
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
Initer Initer
// contains filtered or unexported fields
}
Application 所有依赖集合
func NewApplication ¶
func NewApplication( e *gin.Engine, redis store.CacheStorer, feishu feishu.Feishuer, cleanDuplicateFiringer v1.CleanDuplicateFiringer, cleanExpiredSilencer v1.CleanExpiredSilencer, cleanInhibitAlert v1.AlertInhibiter, ) *Application
func (*Application) Stop ¶
func (app *Application) Stop()
type Options ¶
type Options func(*Application)
func WithServer ¶
func WithServer(server ...server.ServerInterface) Options
Click to show internal directories.
Click to hide internal directories.