Documentation ¶
Overview ¶
search handles beacons, search requests and responses
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelProviderser ¶
type ChannelProviderser interface {
ChannelProviders() []types.ChannelProvider
}
type Server ¶
type Server struct { // GUID is a randomly generated GUID that identifies the server. // It will be filled in by Serve if it is blank. GUID [12]byte // ServerAddr is the TCP address that the TCP server is listening on. ServerAddr *net.TCPAddr Server ChannelProviderser }
Server handles UDP beacons and searches.
func (*Server) Search ¶
func (s *Server) Search(ctx context.Context, c *connection.Connection, req proto.SearchRequest) error
Click to show internal directories.
Click to hide internal directories.