Documentation ¶
Index ¶
- func LoadConfig(configOptions *contracts_core.ConfigOptions) error
- func NewGRPCLogger() grpclog.DepthLoggerV2
- func NewUnaryServerInterceptorBuilder() coreContracts.IUnaryServerInterceptorBuilder
- func ValidateConfigPath(configPath string) error
- type Control
- type PProf
- type PProfServer
- type Runtime
- type ServerInstance
- type UnaryServerInterceptorBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶ added in v0.1.214
func LoadConfig(configOptions *contracts_core.ConfigOptions) error
func NewGRPCLogger ¶ added in v0.1.279
func NewGRPCLogger() grpclog.DepthLoggerV2
NewGRPCLogger Creates a new instance of a gRPC Logger interface that redirects to zerolog
func NewUnaryServerInterceptorBuilder ¶
func NewUnaryServerInterceptorBuilder() coreContracts.IUnaryServerInterceptorBuilder
NewUnaryServerInterceptorBuilder helper
func ValidateConfigPath ¶
ValidateConfigPath just makes sure, that the path provided is a file, that can be read
Types ¶
type Control ¶ added in v0.1.281
type Control struct {
// contains filtered or unexported fields
}
Control is the control object that manages an echo web server
func NewControl ¶ added in v0.1.281
NewControl creates a new control object
type PProf ¶ added in v0.1.281
type PProf struct {
// contains filtered or unexported fields
}
PProf is the PProf object that manages an echo web server
type PProfServer ¶ added in v0.1.281
type PProfServer struct {
// contains filtered or unexported fields
}
PProfServer is the PProfServer object that manages an echo web server
func NewPProfServer ¶ added in v0.1.281
func NewPProfServer() *PProfServer
NewPProfServer creates a new PProf object
func (*PProfServer) Start ¶ added in v0.1.281
func (s *PProfServer) Start()
Start starts the echo web server using async and futures
type Runtime ¶ added in v0.1.123
type Runtime struct { ServerInstances []*ServerInstance // contains filtered or unexported fields }
Runtime type
func NewRuntime ¶ added in v0.1.123
func NewRuntime() *Runtime
NewRuntime returns an instance of a new Runtime
func (*Runtime) GetServerInstances ¶ added in v0.1.123
func (s *Runtime) GetServerInstances() []*ServerInstance
GetServerInstances gets the array or service instances
func (*Runtime) StartWithListenterAndPlugins ¶ added in v0.1.128
func (s *Runtime) StartWithListenterAndPlugins(lis net.Listener, plugins []contracts_plugin.IGRPCDotNetGoPlugin)
StartWithListenterAndPlugins starts up the server
type ServerInstance ¶
type ServerInstance struct { StartupManifest contracts_core.StartupManifest Server *grpc.Server Future async.Future[interface{}] DotNetGoBuilder *grpcdotnetgo.DotNetGoBuilder Endpoints []interface{} }
ServerInstance represents an instance of a plugin
type UnaryServerInterceptorBuilder ¶
type UnaryServerInterceptorBuilder struct {
UnaryServerInterceptors []grpc.UnaryServerInterceptor
}
UnaryServerInterceptorBuilder struct
func (*UnaryServerInterceptorBuilder) GetUnaryServerInterceptors ¶
func (s *UnaryServerInterceptorBuilder) GetUnaryServerInterceptors() []grpc.UnaryServerInterceptor
GetUnaryServerInterceptors helper
func (*UnaryServerInterceptorBuilder) Use ¶
func (s *UnaryServerInterceptorBuilder) Use(interceptor grpc.UnaryServerInterceptor)
Use helper