grpcserver

package
v0.1.285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlugin

NewPlugin creates a new plugin

func NewStartup

func NewStartup() core_contracts.IStartup

NewStartup creates a new IStartup object

Types

type Startup

type Startup struct {
	core_contracts.UnimplementedStartup
	MockOIDCService interface{}
	ConfigOptions   *core_contracts.ConfigOptions
	RootContainer   di.Container
}

Startup type

func (*Startup) Configure

func (s *Startup) Configure(unaryServerInterceptorBuilder core_contracts.IUnaryServerInterceptorBuilder)

Configure setups up our middleware

func (*Startup) ConfigureServices

func (s *Startup) ConfigureServices(builder *di.Builder)

ConfigureServices is where we register our services with the DI

func (*Startup) GetConfigOptions

func (s *Startup) GetConfigOptions() *core_contracts.ConfigOptions

GetConfigOptions is called by the runtime to determine where to write the configuration information to

func (*Startup) GetStartupManifest

func (s *Startup) GetStartupManifest() core_contracts.StartupManifest

GetStartupManifest wrapper

func (*Startup) OnPostServerShutdown

func (s *Startup) OnPostServerShutdown()

OnPostServerShutdown Wrapper

func (*Startup) OnPreServerStartup

func (s *Startup) OnPreServerStartup() error

OnPreServerStartup wrapper

func (*Startup) SetRootContainer

func (s *Startup) SetRootContainer(container di.Container)

SetRootContainer is called by the framework letting us now the root DI container

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL