9 lines
182 B
Go
9 lines
182 B
Go
package server
|
|
|
|
func (s *Server) AddPeerExported() func(*Peer, bool, bool) error {
|
|
return s.addPeer
|
|
}
|
|
|
|
func (s *Server) GetNumPeersExported() func() int64 {
|
|
return s.getNumPeers
|
|
}
|