GetTime return the last contact time of self peer
()
| 152 | |
| 153 | //GetTime return the last contact time of self peer |
| 154 | func (this *NetServer) GetTime() int64 { |
| 155 | t := time.Now() |
| 156 | return t.UnixNano() |
| 157 | } |
| 158 | |
| 159 | //GetServices return the service state of self peer |
| 160 | func (this *NetServer) GetServices() uint64 { |
no outgoing calls