Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClipboardServer ¶
type ClipboardServer struct {
// contains filtered or unexported fields
}
func NewClipboardServer ¶
func NewClipboardServer() *ClipboardServer
func (*ClipboardServer) Get ¶
func (s *ClipboardServer) Get(ctx context.Context, params *pb.GetRequest) (*pb.Clip, error)
func (*ClipboardServer) Push ¶
func (s *ClipboardServer) Push(ctx context.Context, params *pb.PushRequest) (*pb.Clip, error)
func (*ClipboardServer) Subscribe ¶
func (s *ClipboardServer) Subscribe(params *pb.SubscribeRequest, stream pb.Clipboard_SubscribeServer) error
type Subscriber ¶
type Subscriber struct { C chan []byte // contains filtered or unexported fields }
func NewSubscriber ¶
func NewSubscriber() Subscriber
Click to show internal directories.
Click to hide internal directories.