usage

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the gRPC StatsManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new usage client.

func (*Client) GetAppStandbyBucket

func (c *Client) GetAppStandbyBucket(ctx context.Context) (int32, error)

GetAppStandbyBucket calls the GetAppStandbyBucket RPC.

func (*Client) IsAppInactive

func (c *Client) IsAppInactive(ctx context.Context, arg0 string) (bool, error)

IsAppInactive calls the IsAppInactive RPC.

func (*Client) QueryConfigurations

func (c *Client) QueryConfigurations(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)

QueryConfigurations calls the QueryConfigurations RPC.

func (*Client) QueryEventStats

func (c *Client) QueryEventStats(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)

QueryEventStats calls the QueryEventStats RPC.

func (*Client) QueryEvents1

func (c *Client) QueryEvents1(ctx context.Context, arg0 int64) (int64, error)

QueryEvents1 calls the QueryEvents1 RPC.

func (*Client) QueryEvents2_1

func (c *Client) QueryEvents2_1(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

QueryEvents2_1 calls the QueryEvents2_1 RPC.

func (*Client) QueryEventsForSelf

func (c *Client) QueryEventsForSelf(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

QueryEventsForSelf calls the QueryEventsForSelf RPC.

func (*Client) QueryUsageStats

func (c *Client) QueryUsageStats(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) (int64, error)

QueryUsageStats calls the QueryUsageStats RPC.

Jump to

Keyboard shortcuts

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