Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyCodec = errors.Errorf("Codec cannot be specified as nil") ErrEmptyMessageHandler = errors.Errorf("Message handler cannot be specified as nil") )
Functions ¶
This section is empty.
Types ¶
type EmptyRecorder ¶
type EmptyRecorder struct{}
func (*EmptyRecorder) Record ¶
func (e *EmptyRecorder) Record(id int64, direction delegate.RecorderDirection, d []byte, err error)
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession(id int64, nc io.ReadWriteCloser, ncs string, messageHandler delegate.ClientMessageDelegate, codec delegate.CodecDelegate, record delegate.RecorderDelegate, ctx context.Context) (*Session, error)
Click to show internal directories.
Click to hide internal directories.