Documentation
¶
Index ¶
- type Config
- type GrpcServer
- func (s *GrpcServer) InitGRPCServer(ctx context.Context, registerGrpcHandlers registerGrpcHandlers) error
- func (s *GrpcServer) Run(ctx context.Context) error
- func (s *GrpcServer) WithStreamInterceptors(streamInterceptors ...grpc.StreamServerInterceptor) *GrpcServer
- func (s *GrpcServer) WithUnaryInterceptors(unaryInterceptors ...grpc.UnaryServerInterceptor) *GrpcServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcServer ¶
GrpcServer holds grpc server
func (*GrpcServer) InitGRPCServer ¶
func (s *GrpcServer) InitGRPCServer( ctx context.Context, registerGrpcHandlers registerGrpcHandlers) error
InitGRPCServer with handlers and interceptors
func (*GrpcServer) WithStreamInterceptors ¶
func (s *GrpcServer) WithStreamInterceptors(streamInterceptors ...grpc.StreamServerInterceptor) *GrpcServer
WithStreamInterceptors sets stream interceptors
func (*GrpcServer) WithUnaryInterceptors ¶
func (s *GrpcServer) WithUnaryInterceptors(unaryInterceptors ...grpc.UnaryServerInterceptor) *GrpcServer
WithUnaryInterceptors sets unary interceptors
Click to show internal directories.
Click to hide internal directories.