Versions in this module Expand all Collapse all v0 v0.0.2 Jan 22, 2025 Changes in this version + func ErrorInterceptor() grpc.UnaryServerInterceptor + func ErrorStreamInterceptor() grpc.StreamServerInterceptor + func GRPCGateway(ctx context.Context, conf Config, metricsHandler http.HandlerFunc, ...) (http.Handler, error) + func NewAuthAPI(svc *auth.Server) pb.AuthServer + func NewClusterAPI(radosSvc *rados.Svc) pb.ClusterServer + func NewCrushRuleAPI(radosSvc *rados.Svc) pb.CrushRuleServer + func NewGrpcServer(conf Config, clusterAPI pb.ClusterServer, usersAPI pb.UsersServer, ...) *grpc.Server + func NewStatusAPI(radosSvc *rados.Svc) pb.StatusServer + func NewUsersAPI(svc *user.Service) pb.UsersServer + func Serve(ctx context.Context, conf Config, grpcServer *grpc.Server, ...) (start func(context.Context) error, stop func(context.Context) error, err error) + type Config struct + AccessLog bool + GrpcPort int + GrpcReflection bool + HttpPort int + Secure bool + ServeDebug bool