Documentation
¶
Index ¶
- func NewServerConn(network, addr string) (net.Listener, error)
- type Config
- type RFuncServer
- func (s *RFuncServer) Copy(ctx context.Context, req *pb.CopyRequest) (*pb.CopyReply, error)
- func (s *RFuncServer) GracefulStop()
- func (s *RFuncServer) Log() *log.Logger
- func (s *RFuncServer) OpenURL(ctx context.Context, req *pb.OpenURLRequest) (*pb.OpenURLReply, error)
- func (s *RFuncServer) Paste(ctx context.Context, req *pb.PasteRequest) (*pb.PasteReply, error)
- func (s *RFuncServer) Run(lis net.Listener) error
- func (s *RFuncServer) Serve(lis net.Listener) error
- func (s *RFuncServer) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RFuncServer ¶
type RFuncServer struct { Config *Config Clipboard clipboard.Clipboard Shell shell.Shell Logger *log.Logger // contains filtered or unexported fields }
func (*RFuncServer) Copy ¶
func (s *RFuncServer) Copy(ctx context.Context, req *pb.CopyRequest) (*pb.CopyReply, error)
func (*RFuncServer) GracefulStop ¶
func (s *RFuncServer) GracefulStop()
func (*RFuncServer) Log ¶
func (s *RFuncServer) Log() *log.Logger
func (*RFuncServer) OpenURL ¶
func (s *RFuncServer) OpenURL(ctx context.Context, req *pb.OpenURLRequest) (*pb.OpenURLReply, error)
func (*RFuncServer) Paste ¶
func (s *RFuncServer) Paste(ctx context.Context, req *pb.PasteRequest) (*pb.PasteReply, error)
func (*RFuncServer) Stop ¶
func (s *RFuncServer) Stop()
Click to show internal directories.
Click to hide internal directories.