quotahttp

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(mux webx.Router, d Deps)

Types

type AccountUsageFunc

type AccountUsageFunc func(ctx context.Context, userID string) (int64, error)

type Deps

type Deps struct {
	Svc *quota.Service

	WsMW func(http.Handler) http.Handler

	Authz *authz.Authorizer

	AccountScopedDims map[string]AccountUsageFunc
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL