udp

package
v0.0.0-...-6c2426a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configure

type Configure struct {
	Address string `json:"address"`
	Port    int    `json:"port"`
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(ip net.IP, port int, ttr time.Duration) (*Server, error)

func (*Server) GetChan

func (s *Server) GetChan() (chan *model.DT, chan *model.DT)

func (*Server) Start

func (s *Server) Start()

func (*Server) StopRead

func (s *Server) StopRead()

func (*Server) StopWrite

func (s *Server) StopWrite()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL