ricochet-go/core/network.go

16 lines
213 B
Go
Raw Normal View History

2016-07-01 03:18:55 +00:00
package core
type NetworkStatus int
const (
NetworkUnavailable NetworkStatus = iota
NetworkError
NetworkOffline
NetworkOnline
)
type Network struct {
torConfig *TorConfiguration
status NetworkStatus
}