Documentation ¶
Index ¶
- func NewUnderlayFactory(id *identity.TokenId, peer *websocket.Conn, certs []*x509.Certificate) channel.UnderlayFactory
- type Underlay
- func (self *Underlay) Certificates() []*x509.Certificate
- func (self *Underlay) Close() error
- func (self *Underlay) ConnectionId() string
- func (self *Underlay) Create(time.Duration, transport.Configuration) (channel.Underlay, error)
- func (impl *Underlay) GetLocalAddr() net.Addr
- func (impl *Underlay) GetRemoteAddr() net.Addr
- func (self *Underlay) Headers() map[int32][]byte
- func (self *Underlay) Id() string
- func (self *Underlay) IsClosed() bool
- func (self *Underlay) Label() string
- func (self *Underlay) LogicalName() string
- func (self *Underlay) Rx() (*channel.Message, error)
- func (self *Underlay) SetWriteDeadline(deadline time.Time) error
- func (self *Underlay) SetWriteTimeout(duration time.Duration) error
- func (self *Underlay) Tx(m *channel.Message) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnderlayFactory ¶
Types ¶
type Underlay ¶
type Underlay struct {
// contains filtered or unexported fields
}
func (*Underlay) Certificates ¶
func (self *Underlay) Certificates() []*x509.Certificate
func (*Underlay) ConnectionId ¶
func (*Underlay) GetLocalAddr ¶
func (*Underlay) GetRemoteAddr ¶
func (*Underlay) LogicalName ¶
func (*Underlay) SetWriteDeadline ¶ added in v2.0.45
func (*Underlay) SetWriteTimeout ¶
Click to show internal directories.
Click to hide internal directories.