Documentation ¶
Index ¶
- type PresentWriteProgress
- type Session
- func (s *Session) Ack() error
- func (s *Session) Close()
- func (s *Session) Fetch(msg *message.Message, data interface{}) (*message.Message, error)
- func (s *Session) Read(p []byte) (n int, err error)
- func (s *Session) ReadFile(filepath string, md5 string, size int64) (written int64, err error)
- func (s *Session) ReadJson(size int, v interface{}) error
- func (s *Session) ReadMessage() (*message.Message, error)
- func (s *Session) Send(msg *message.Message, data interface{}) error
- func (s *Session) SendFile(file_path string, ...) error
- func (s *Session) SendMessage(msg *message.Message, payload io.Reader, payload_size int64) error
- func (s *Session) String() string
- func (s *Session) Write(p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PresentWriteProgress ¶
type PresentWriteProgress func(n int)
Click to show internal directories.
Click to hide internal directories.