Documentation ¶
Index ¶
- func NewPlugin() pluginContracts.IGRPCDotNetGoPlugin
- func NewStartup() coreContracts.IStartup
- type Startup
- func (s *Startup) Configure(unaryServerInterceptorBuilder coreContracts.IUnaryServerInterceptorBuilder)
- func (s *Startup) ConfigureServices(builder *di.Builder)
- func (s *Startup) GetConfigOptions() *coreContracts.ConfigOptions
- func (s *Startup) GetPort() int
- func (s *Startup) GetStartupManifest() coreContracts.StartupManifest
- func (s *Startup) OnPostServerShutdown()
- func (s *Startup) OnPreServerStartup() error
- func (s *Startup) RegisterGRPCEndpoints(server *grpc.Server) []interface{}
- func (s *Startup) SetRootContainer(container di.Container)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPlugin ¶
func NewPlugin() pluginContracts.IGRPCDotNetGoPlugin
NewPlugin creates a new plugin
Types ¶
type Startup ¶
type Startup struct { MockOIDCService interface{} ConfigOptions *coreContracts.ConfigOptions RootContainer di.Container }
Startup type
func (*Startup) Configure ¶
func (s *Startup) Configure(unaryServerInterceptorBuilder coreContracts.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() *coreContracts.ConfigOptions
GetConfigOptions is called by the runtime to determine where to write the configuration information to
func (*Startup) GetStartupManifest ¶
func (s *Startup) GetStartupManifest() coreContracts.StartupManifest
GetStartupManifest wrapper
func (*Startup) OnPostServerShutdown ¶
func (s *Startup) OnPostServerShutdown()
OnPostServerShutdown Wrapper
func (*Startup) OnPreServerStartup ¶
OnPreServerStartup wrapper
func (*Startup) RegisterGRPCEndpoints ¶
RegisterGRPCEndpoints registeres all our servers with the framework
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.