init
This commit is contained in:
@@ -28,7 +28,7 @@ func NewServer(bindAddr string) *Server {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Server) Run() error {
|
||||
func (s *Server) run() error {
|
||||
add, err := net.ResolveUDPAddr("udp", s.bindAddr)
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot resolve address: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user