Documentation ¶
Index ¶
- Constants
- Variables
- func LocalIpAddresses() []string
- type Ability
- type Config
- type Hint
- type Transit
- func (t *Transit) Close() error
- func (t *Transit) Connect() error
- func (t *Transit) Flush() error
- func (t *Transit) OurAbilities() Config
- func (t *Transit) Read(b []byte) (int, error)
- func (t Transit) Role() string
- func (t *Transit) TheirAbilities(c Config)
- func (t *Transit) Write(p []byte) (n int, err error)
Constants ¶
View Source
const (
AbilityDirectTcpV1 string = "direct-tcp-v1"
)
Variables ¶
View Source
var ( RoleReceiver string = "receiver" RoleSender string = "sender" )
Functions ¶
func LocalIpAddresses ¶
func LocalIpAddresses() []string
Types ¶
type Transit ¶
type Transit struct {
// contains filtered or unexported fields
}
func (*Transit) OurAbilities ¶
Click to show internal directories.
Click to hide internal directories.