Documentation ¶
Index ¶
- func NewStartup() contracts_core.IStartup
- type Startup
- func (s *Startup) Configure(unaryServerInterceptorBuilder contracts_core.IUnaryServerInterceptorBuilder)
- func (s *Startup) ConfigureServices(builder *di.Builder)
- func (s *Startup) GetConfigOptions() *contracts_core.ConfigOptions
- func (s *Startup) GetStartupManifest() contracts_core.StartupManifest
- func (s *Startup) OnPostServerShutdown()
- func (s *Startup) OnPreServerStartup() error
- func (s *Startup) SetRootContainer(container di.Container)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStartup ¶
func NewStartup() contracts_core.IStartup
NewStartup creates a new IStartup object
Types ¶
type Startup ¶
type Startup struct { contracts_core.UnimplementedStartup MockOIDCService interface{} ConfigOptions *contracts_core.ConfigOptions RootContainer di.Container }
Startup type
func (*Startup) Configure ¶
func (s *Startup) Configure(unaryServerInterceptorBuilder contracts_core.IUnaryServerInterceptorBuilder)
Configure setups up our middleware
func (*Startup) ConfigureServices ¶
ConfigureServices is where we register our services with the DI
func (*Startup) GetConfigOptions ¶
func (s *Startup) GetConfigOptions() *contracts_core.ConfigOptions
GetConfigOptions is called by the runtime to determine where to write the configuration information to
func (*Startup) GetStartupManifest ¶ added in v0.1.112
func (s *Startup) GetStartupManifest() contracts_core.StartupManifest
GetStartupManifest wrapper
func (*Startup) OnPostServerShutdown ¶ added in v0.1.112
func (s *Startup) OnPostServerShutdown()
OnPostServerShutdown Wrapper
func (*Startup) OnPreServerStartup ¶ added in v0.1.112
OnPreServerStartup wrapper
func (*Startup) SetRootContainer ¶
SetRootContainer is called by the framework letting us now the root DI container
Click to show internal directories.
Click to hide internal directories.