alarm

package
v0.0.4 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 ManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new alarm client.

func (*Client) CanScheduleExactAlarms

func (c *Client) CanScheduleExactAlarms(ctx context.Context) (bool, error)

CanScheduleExactAlarms calls the CanScheduleExactAlarms RPC.

func (*Client) Cancel1

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

Cancel1 calls the Cancel1 RPC.

func (*Client) Cancel1_1

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

Cancel1_1 calls the Cancel1_1 RPC.

func (*Client) CancelAll

func (c *Client) CancelAll(ctx context.Context) error

CancelAll calls the CancelAll RPC.

func (*Client) GetNextAlarmClock

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

GetNextAlarmClock calls the GetNextAlarmClock RPC.

func (*Client) Set

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

Set calls the Set RPC.

func (*Client) SetAlarmClock

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

SetAlarmClock calls the SetAlarmClock RPC.

func (*Client) SetAndAllowWhileIdle

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

SetAndAllowWhileIdle calls the SetAndAllowWhileIdle RPC.

func (*Client) SetExact

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

SetExact calls the SetExact RPC.

func (*Client) SetExactAndAllowWhileIdle

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

SetExactAndAllowWhileIdle calls the SetExactAndAllowWhileIdle RPC.

func (*Client) SetInexactRepeating

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

SetInexactRepeating calls the SetInexactRepeating RPC.

func (*Client) SetRepeating

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

SetRepeating calls the SetRepeating RPC.

func (*Client) SetTime

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

SetTime calls the SetTime RPC.

func (*Client) SetTimeZone

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

SetTimeZone calls the SetTimeZone RPC.

func (*Client) SetWindow4

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

SetWindow4 calls the SetWindow4 RPC.

func (*Client) SetWindow6_1

func (c *Client) SetWindow6_1(ctx context.Context, arg0 int32, arg1 int64, arg2 int64, arg3 string, arg4 int64, arg5 int64) error

SetWindow6_1 calls the SetWindow6_1 RPC.

Jump to

Keyboard shortcuts

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