Documentation ¶
Index ¶
- Variables
- func AddLocalService(p cellnet.Peer)
- func CheckReady()
- func GetLocalService(svcName string) cellnet.Peer
- func IsAllReady() (ret bool)
- func LocalServiceStatus() string
- func MultiPeerString(ms service.MultiPeer) string
- func RemoveLocalService(p cellnet.Peer)
- func StopAllService()
- func VisitLocalService(callback func(cellnet.Peer) bool)
- type ServiceParameter
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FlagCommunicateType = service.CommandLine.String("commtype", "tcp", "Communicate type, tcp or ws")
)
View Source
var (
Queue cellnet.EventQueue
)
Functions ¶
func AddLocalService ¶
func CheckReady ¶
func CheckReady()
func GetLocalService ¶
func IsAllReady ¶
func IsAllReady() (ret bool)
func LocalServiceStatus ¶
func LocalServiceStatus() string
func MultiPeerString ¶
func RemoveLocalService ¶
func StopAllService ¶
func StopAllService()
func VisitLocalService ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.