Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConfigPath ¶ added in v0.1.32
ValidateConfigPath just makes sure, that the path provided is a file, that can be read
Types ¶
type ConfigOptions ¶
type ICoreConfig ¶
type ICoreConfig interface {
GetPort() int
}
type IStartup ¶
type IStartup interface { GetConfigOptions() *ConfigOptions ConfigureServices(builder *di.Builder) Configure( serviceProvider servicesServiceProvider.IServiceProvider, unaryServerInterceptorBuilder *UnaryServerInterceptorBuilder) GetPort() int SetPort(port int) RegisterGRPCEndpoints(server *grpc.Server) }
type IUnaryServerInterceptorBuilder ¶
type IUnaryServerInterceptorBuilder interface {
Use(intercepter grpc.UnaryServerInterceptor)
}
type UnaryServerInterceptorBuilder ¶
type UnaryServerInterceptorBuilder struct {
UnaryServerInterceptors []grpc.UnaryServerInterceptor
}
func (*UnaryServerInterceptorBuilder) Use ¶
func (s *UnaryServerInterceptorBuilder) Use(interceptor grpc.UnaryServerInterceptor)
Click to show internal directories.
Click to hide internal directories.