Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionManager ¶
type ConnectionManager struct {
// contains filtered or unexported fields
}
func NewConnectionManager ¶
func NewConnectionManager(manager *handlers.ClientManager) *ConnectionManager
func (*ConnectionManager) Connect ¶
func (m *ConnectionManager) Connect(signaler string, community string, f func(msg webrtc.DataChannelMessage))
func (*ConnectionManager) WriteUnicast ¶
func (m *ConnectionManager) WriteUnicast(p []byte, mac string) error
type FileSystemError ¶
type FileSystemError struct {
// contains filtered or unexported fields
}
func (*FileSystemError) Error ¶
func (e *FileSystemError) Error() string
type NoConnectionEstablished ¶
type NoConnectionEstablished struct{}
func (*NoConnectionEstablished) Error ¶
func (m *NoConnectionEstablished) Error() string
type RemoteFile ¶
type RemoteFile struct { ReadCh chan api.ReadOpResponse WriteCh chan api.WriteOpResponse SeekCh chan api.SeekOpResponse CloseCh chan api.CloseOpResponse OpenCh chan api.OpenOpResponse // contains filtered or unexported fields }
func NewRemoteFile ¶
func NewRemoteFile(cm ConnectionManager) *RemoteFile
func (*RemoteFile) Close ¶
func (f *RemoteFile) Close() error
func (*RemoteFile) Fd ¶
func (f *RemoteFile) Fd() uintptr
func (*RemoteFile) Open ¶
func (f *RemoteFile) Open(create bool) error
Click to show internal directories.
Click to hide internal directories.