Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶
type AppContext struct {
// contains filtered or unexported fields
}
func NewAppContext ¶
func NewAppContext( ctx context.Context, embedFS *embed.FS, repository *repository.Repositories, services *service.Services, components *component.Components, servers *server.Server, ) (*AppContext, func())
NewAppContext initiate AppContext object
func (*AppContext) GetComponents ¶
func (a *AppContext) GetComponents() *component.Components
func (*AppContext) GetCtx ¶
func (a *AppContext) GetCtx() context.Context
func (*AppContext) Shutdown ¶
func (a *AppContext) Shutdown()
func (*AppContext) Start ¶
func (a *AppContext) Start()
type IAppContext ¶
type IAppContext interface { GetCtx() context.Context GetComponents() *component.Components Start() Shutdown() }
type IsProfilerActive ¶
type IsProfilerActive bool
Click to show internal directories.
Click to hide internal directories.