init
This commit is contained in:
1 parent
1dbfe08225
commit
340d1b69f9
1 file changed
+1
-1
@@ -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