package ratelimiter
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter"
Index ¶
Types ¶
type Client ¶
type Client interface { CreateResource(ctx context.Context, coordinationNodePath string, resource ratelimiter.Resource) (err error) AlterResource(ctx context.Context, coordinationNodePath string, resource ratelimiter.Resource) (err error) DropResource(ctx context.Context, coordinationNodePath string, resourcePath string) (err error) ListResource(ctx context.Context, coordinationNodePath string, resourcePath string, recursive bool) (_ []string, err error) DescribeResource(ctx context.Context, coordinationNodePath string, resourcePath string) (_ *ratelimiter.Resource, err error) AcquireResource(ctx context.Context, coordinationNodePath string, resourcePath string, amount uint64, isUsedAmount bool) (err error) Close(ctx context.Context) error }
func New ¶
Source Files ¶
- Version
- v3.0.2
- Published
- Oct 22, 2021
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- now –
Tools for package owners.