Documentation
¶
Index ¶
- type Client
- func (c *Client) CanScheduleExactAlarms(ctx context.Context) (bool, error)
- func (c *Client) Cancel1(ctx context.Context, arg0 int64) error
- func (c *Client) Cancel1_1(ctx context.Context, arg0 int64) error
- func (c *Client) CancelAll(ctx context.Context) error
- func (c *Client) GetNextAlarmClock(ctx context.Context) (int64, error)
- func (c *Client) Set(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *Client) SetAlarmClock(ctx context.Context, arg0 int64, arg1 int64) error
- func (c *Client) SetAndAllowWhileIdle(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *Client) SetExact(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *Client) SetExactAndAllowWhileIdle(ctx context.Context, arg0 int32, arg1 int64, arg2 int64) error
- func (c *Client) SetInexactRepeating(ctx context.Context, arg0 int32, arg1 int64, arg2 int64, arg3 int64) error
- func (c *Client) SetRepeating(ctx context.Context, arg0 int32, arg1 int64, arg2 int64, arg3 int64) error
- func (c *Client) SetTime(ctx context.Context, arg0 int64) error
- func (c *Client) SetTimeZone(ctx context.Context, arg0 string) error
- func (c *Client) SetWindow4(ctx context.Context, arg0 int32, arg1 int64, arg2 int64, arg3 int64) error
- func (c *Client) SetWindow6_1(ctx context.Context, arg0 int32, arg1 int64, arg2 int64, arg3 string, ...) error
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 ¶
CanScheduleExactAlarms calls the CanScheduleExactAlarms RPC.
func (*Client) GetNextAlarmClock ¶
GetNextAlarmClock calls the GetNextAlarmClock RPC.
func (*Client) SetAlarmClock ¶
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) 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) SetTimeZone ¶
SetTimeZone calls the SetTimeZone RPC.
Click to show internal directories.
Click to hide internal directories.