Documentation
¶
Index ¶
- func CreateApplication[TServer, TContainer any](creater AppCreater[TServer, TContainer], configName ...string) (TServer, TContainer)
- func CreateApplicationFunc[TServer, TContainer any](creater AppCreaterFunc[TServer, TContainer]) (TServer, TContainer)
- func FindConfig(workingDir string, configName ...string) (string, error)
- func FindFile(workingDir string, fileName string) (string, error)
- func NewAppTestLogger(t *testing.T, level zerolog.Level) (zerolog.Logger, *zltest.Tester)
- type AppCreater
- type AppCreaterFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateApplication ¶
func CreateApplication[TServer, TContainer any](creater AppCreater[TServer, TContainer], configName ...string) (TServer, TContainer)
func CreateApplicationFunc ¶
func CreateApplicationFunc[TServer, TContainer any](creater AppCreaterFunc[TServer, TContainer]) (TServer, TContainer)
Types ¶
type AppCreater ¶
Click to show internal directories.
Click to hide internal directories.