neoneo-go/pkg/network/capability/type.go
Roman Khimov 9d2712573f *: enable godot linter and fix all its warnings
It's important for NeoGo to have clean documentation. No functional changes.
2021-05-12 23:17:03 +03:00

13 lines
312 B
Go

package capability
// Type represents node capability type.
type Type byte
const (
// TCPServer represents TCP node capability type.
TCPServer Type = 0x01
// WSServer represents WebSocket node capability type.
WSServer Type = 0x02
// FullNode represents full node capability type.
FullNode Type = 0x10
)