Documentation ¶
Index ¶
- func ErrorInterceptor() grpc.UnaryServerInterceptor
- func ErrorStreamInterceptor() grpc.StreamServerInterceptor
- func GRPCGateway(ctx context.Context, conf *Config, register RegisterHandlersFunc) (start func(context.Context) error, stop func(context.Context) error, err error)
- func GrpcHandlers(storages *s3.StorageConfig, s3clients s3client.Service, ...) pb.ChorusServer
- func NewGrpcServer(port int, handlers pb.ChorusServer, tracer otel_trace.TracerProvider, ...) (start func(context.Context) error, stop func(context.Context) error, err error)
- type Config
- type RegisterHandlersFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorInterceptor ¶
func ErrorInterceptor() grpc.UnaryServerInterceptor
func ErrorStreamInterceptor ¶
func ErrorStreamInterceptor() grpc.StreamServerInterceptor
func GRPCGateway ¶
func GrpcHandlers ¶
func GrpcHandlers(storages *s3.StorageConfig, s3clients s3client.Service, taskClient *asynq.Client, rclone rclone.Service, policySvc policy.Service, locker lock.Service, proxyClient rpc.Proxy, agentClient *rpc.AgentClient, notificationSvc *notifications.Service) pb.ChorusServer
func NewGrpcServer ¶
Types ¶
type RegisterHandlersFunc ¶
Click to show internal directories.
Click to hide internal directories.