clipboard

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 clipboard client.

func (*Client) AddPrimaryClipChangedListener

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

AddPrimaryClipChangedListener calls the AddPrimaryClipChangedListener RPC.

func (*Client) ClearPrimaryClip

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

ClearPrimaryClip calls the ClearPrimaryClip RPC.

func (*Client) GetPrimaryClip

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

GetPrimaryClip calls the GetPrimaryClip RPC.

func (*Client) GetPrimaryClipDescription

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

GetPrimaryClipDescription calls the GetPrimaryClipDescription RPC.

func (*Client) GetText

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

GetText calls the GetText RPC.

func (*Client) HasPrimaryClip

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

HasPrimaryClip calls the HasPrimaryClip RPC.

func (*Client) HasText

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

HasText calls the HasText RPC.

func (*Client) RemovePrimaryClipChangedListener

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

RemovePrimaryClipChangedListener calls the RemovePrimaryClipChangedListener RPC.

func (*Client) SetPrimaryClip

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

SetPrimaryClip calls the SetPrimaryClip RPC.

func (*Client) SetText

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

SetText calls the SetText RPC.

Jump to

Keyboard shortcuts

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