Documentation ¶
Index ¶
- type Whisper
- func (ws *Whisper) Call(ctx context.Context, h host.Host, destination string) (*bufio.ReadWriter, error)
- func (ws *Whisper) Close()
- func (ws *Whisper) HandleStream(s network.Stream)
- func (ws *Whisper) Host(port int, randomness io.Reader) (host.Host, error)
- func (ws *Whisper) Listen(ctx context.Context, h host.Host, streamHandler network.StreamHandler)
- func (ws *Whisper) ReadData(rw *bufio.ReadWriter)
- func (ws *Whisper) WriteData(rw *bufio.ReadWriter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Whisper ¶
type Whisper struct {
// contains filtered or unexported fields
}
func (*Whisper) HandleStream ¶
func (*Whisper) ReadData ¶
func (ws *Whisper) ReadData(rw *bufio.ReadWriter)
func (*Whisper) WriteData ¶
func (ws *Whisper) WriteData(rw *bufio.ReadWriter)
Click to show internal directories.
Click to hide internal directories.