Documentation ¶
Index ¶
- Constants
- type V2Ray
- func (s *V2Ray) AddPeer(data []byte) (result []byte, err error)
- func (s *V2Ray) HasPeer(data []byte) bool
- func (s *V2Ray) Info() []byte
- func (s *V2Ray) Init(home string) (err error)
- func (s *V2Ray) PeerCount() int
- func (s *V2Ray) Peers() (items []types.Peer, err error)
- func (s *V2Ray) RemovePeer(data []byte) error
- func (s *V2Ray) Start() error
- func (s *V2Ray) Stop() error
- func (s *V2Ray) Type() uint64
Constants ¶
View Source
const (
InfoLen = 2 + 1
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type V2Ray ¶
type V2Ray struct {
// contains filtered or unexported fields
}
func (*V2Ray) RemovePeer ¶
Click to show internal directories.
Click to hide internal directories.