Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthInterceptor ¶
type GrpcController ¶
type GrpcServer ¶
type GrpcServer struct {
// contains filtered or unexported fields
}
func NewGrpcServer ¶
func NewGrpcServer( cfg *config.ServerConfig, logger logging.Logger, authInterceptor AuthInterceptor, ) *GrpcServer
func (*GrpcServer) GracefulStop ¶
func (s *GrpcServer) GracefulStop()
func (*GrpcServer) ListenAndServe ¶
func (s *GrpcServer) ListenAndServe(address string)
func (*GrpcServer) RegisterController ¶
func (s *GrpcServer) RegisterController(controller GrpcController)
type InterceptorLogger ¶
type InterceptorLogger struct {
// contains filtered or unexported fields
}
func (*InterceptorLogger) Log ¶
func (i *InterceptorLogger) Log(_ context.Context, level grpclogging.Level, msg string, fields ...any)
Click to show internal directories.
Click to hide internal directories.