Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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 []pluginContracts.IGRPCDotNetGoPlugin)
StartWithListenterAndPlugins starts up the server
type ServerInstance ¶
type ServerInstance struct { StartupManifest coreContracts.StartupManifest Server *grpc.Server Future async.Future 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
Click to show internal directories.
Click to hide internal directories.