Documentation ¶
Index ¶
- Variables
- func Dial(ip net.IP) (*yamux.Session, error)
- func GenerateToasterAppsSubDomains(radix string) []string
- func GetAllLocalObjectdbNodes() []string
- func GetAllLocalRedisNodes() []string
- func GetConn(ip net.IP) (net.Conn, error)
- func GetToasterLocalRegionAppSubdomain(radix, localregion string) string
- func Init() error
- func PickTVS() (t net.IP)
- func PutConn(ip net.IP, conn net.Conn)
- type NodeServer
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalObjectdb []string
View Source
var LocalObjectdbMu sync.RWMutex
View Source
var LocalRedis []string
View Source
var LocalRedisMu sync.RWMutex
View Source
var LocalTVS []net.IP
View Source
var LocalTVSMu sync.RWMutex
View Source
var Regions []string
View Source
var RegionsMu sync.RWMutex
Functions ¶
func GetAllLocalObjectdbNodes ¶
func GetAllLocalObjectdbNodes() []string
func GetAllLocalRedisNodes ¶
func GetAllLocalRedisNodes() []string
Types ¶
type NodeServer ¶
type NodeServer struct {
// contains filtered or unexported fields
}
func StartNodeServer ¶
TODO: generalize StartNodeServer to start a server for each node that shares runner comm and discovery auth and registration in addition of dns discovery
func (*NodeServer) Stop ¶
func (ns *NodeServer) Stop() error
Click to show internal directories.
Click to hide internal directories.