Documentation
¶
Index ¶
- func AgentMiddleware(next http.Handler) http.Handler
- func NewResponseWriter(w http.ResponseWriter) *responseWriter
- func ProxyMiddleware(next http.Handler) http.Handler
- func Server(ctx context.Context, port int, version dom.AppInfo) (start func(context.Context) error, stop func(context.Context) error)
- func WorkerMiddleware() asynq.MiddlewareFunc
- type Config
- type S3Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResponseWriter ¶
func NewResponseWriter(w http.ResponseWriter) *responseWriter
func WorkerMiddleware ¶
func WorkerMiddleware() asynq.MiddlewareFunc
Types ¶
type S3Service ¶
type S3Service interface { Count(flow xctx.Flow, storage string, method s3.Method) Upload(flow xctx.Flow, storage, bucket string, bytes int) Download(flow xctx.Flow, storage, bucket string, bytes int) RcloneCalcMemUsageInc(bytes int64) RcloneCalcMemUsageDec(bytes int64) RcloneCalcFileSizeInc(bytes int64) RcloneCalcFileSizeDec(bytes int64) RcloneCalcFileNumInc() RcloneCalcFileNumDec() }
func NewS3Service ¶
Click to show internal directories.
Click to hide internal directories.