selector

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

selector package implements selection of a session to use for an outgoing packet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SingleSession

type SingleSession struct {
	Session iface.Session
}

SingleSession implements iface.SessionSelector, returning the contained session on ChooseSess.

func (*SingleSession) ChooseSess

func (ss *SingleSession) ChooseSess(b common.RawBytes) iface.Session

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL