Documentation
¶
Index ¶
- type Client
- func (c *Client) AddPrimaryClipChangedListener(ctx context.Context, arg0 int64) error
- func (c *Client) ClearPrimaryClip(ctx context.Context) error
- func (c *Client) GetPrimaryClip(ctx context.Context) (int64, error)
- func (c *Client) GetPrimaryClipDescription(ctx context.Context) (int64, error)
- func (c *Client) GetText(ctx context.Context) (int64, error)
- func (c *Client) HasPrimaryClip(ctx context.Context) (bool, error)
- func (c *Client) HasText(ctx context.Context) (bool, error)
- func (c *Client) RemovePrimaryClipChangedListener(ctx context.Context, arg0 int64) error
- func (c *Client) SetPrimaryClip(ctx context.Context, arg0 int64) error
- func (c *Client) SetText(ctx context.Context, arg0 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 clipboard client.
func (*Client) AddPrimaryClipChangedListener ¶
AddPrimaryClipChangedListener calls the AddPrimaryClipChangedListener RPC.
func (*Client) ClearPrimaryClip ¶
ClearPrimaryClip calls the ClearPrimaryClip RPC.
func (*Client) GetPrimaryClip ¶
GetPrimaryClip calls the GetPrimaryClip RPC.
func (*Client) GetPrimaryClipDescription ¶
GetPrimaryClipDescription calls the GetPrimaryClipDescription RPC.
func (*Client) HasPrimaryClip ¶
HasPrimaryClip calls the HasPrimaryClip RPC.
func (*Client) RemovePrimaryClipChangedListener ¶
RemovePrimaryClipChangedListener calls the RemovePrimaryClipChangedListener RPC.
func (*Client) SetPrimaryClip ¶
SetPrimaryClip calls the SetPrimaryClip RPC.
Click to show internal directories.
Click to hide internal directories.