core

package
v0.1.114 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnaryServerInterceptorBuilder

func NewUnaryServerInterceptorBuilder() coreContracts.IUnaryServerInterceptorBuilder

NewUnaryServerInterceptorBuilder helper

func Start

func Start(lis net.Listener)

Start starts up the server

func ValidateConfigPath

func ValidateConfigPath(configPath string) error

ValidateConfigPath just makes sure, that the path provided is a file, that can be read

Types

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

func GetServerInstances

func GetServerInstances() []*ServerInstance

GetServerInstances gets the array or service instances

type UnaryServerInterceptorBuilder

type UnaryServerInterceptorBuilder struct {
	UnaryServerInterceptors []grpc.UnaryServerInterceptor
}

UnaryServerInterceptorBuilder struct

func (*UnaryServerInterceptorBuilder) GetUnaryServerInterceptors

func (s *UnaryServerInterceptorBuilder) GetUnaryServerInterceptors() []grpc.UnaryServerInterceptor

GetUnaryServerInterceptors helper

func (*UnaryServerInterceptorBuilder) Use

Use helper

Jump to

Keyboard shortcuts

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