Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetShortHashSha ¶
Types ¶
type PeerSession ¶
type PeerSession struct {
// contains filtered or unexported fields
}
func NewPeerSession ¶
func NewPeerSession(service *Service, conn net.Conn) *PeerSession
func (*PeerSession) Close ¶
func (session *PeerSession) Close()
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config *Config, privKey crypto.PrivateKey, pk peerkeeper.PeerKeeper) *Service
Click to show internal directories.
Click to hide internal directories.