Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2022 v0.0.1 Nov 10, 2022 Changes in this version + type Client struct + func New() *Client + func NewForUids(uids ...int) *Client + func (client *Client) FinishRefreshNotification(ctx context.Context, closeInfo *FinishedSnapRefreshInfo) error + func (client *Client) PendingRefreshNotification(ctx context.Context, refreshInfo *PendingSnapRefreshInfo) error + func (client *Client) ServicesDaemonReload(ctx context.Context) error + func (client *Client) ServicesStart(ctx context.Context, services []string) (startFailures, stopFailures []ServiceFailure, err error) + func (client *Client) ServicesStop(ctx context.Context, services []string) (stopFailures []ServiceFailure, err error) + func (client *Client) SessionInfo(ctx context.Context) (info map[int]SessionInfo, err error) + type Error struct + Kind string + Message string + Value interface{} + func (e *Error) Error() string + type FinishedSnapRefreshInfo struct + InstanceName string + type PendingSnapRefreshInfo struct + BusyAppDesktopEntry string + BusyAppName string + InstanceName string + TimeRemaining time.Duration + type ServiceFailure struct + Error string + Service string + Uid int + type SessionInfo struct + Version string