telebit/mplexer/sortinghat.go

11 lines
190 B
Go
Raw Normal View History

2020-05-16 09:09:47 +00:00
package mplexer
import (
2020-05-18 08:43:06 +00:00
"git.coolaj86.com/coolaj86/go-telebitd/mplexer/packer"
2020-05-16 09:09:47 +00:00
)
type SortingHat interface {
2020-05-18 08:43:06 +00:00
LookupTarget(*packer.Addr) (*packer.Conn, error)
2020-05-16 09:09:47 +00:00
Authz() (string, error)
}