Versions in this module Expand all Collapse all v1 v1.0.0 Jun 8, 2024 Changes in this version + func MetricsUnaryInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (interface{}, error) + func UnaryServerPanicInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error) + type GRPCServer struct + func New(o *Options) *GRPCServer + func (gs *GRPCServer) CatchSignal(s os.Signal) + func (gs *GRPCServer) MustStart() + func (gs *GRPCServer) Register(fn interface{}, server interface{}) + func (gs *GRPCServer) Start() error + func (gs *GRPCServer) Stop() + func (gs *GRPCServer) StopContext(ctx context.Context) + type Options struct + Address string + SkipRegisterReflectionServer bool + UnaryInterceptors []grpc.UnaryServerInterceptor