moleculer-go/moleculer

View on GitHub
transit/tcp/udp.go

Summary

Maintainability
A
1 hr
Test Coverage

Method UdpServer.startServer has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (u *UdpServer) startServer(ip string, port int, multicast string, multicastTTL int, discoveryTargets []string) error {
Severity: Minor
Found in transit/tcp/udp.go - About 35 mins to fix

    Method UdpServer.joinMulticastGroup has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (u *UdpServer) joinMulticastGroup(multicast string, udpConn *net.UDPConn, multicastTTL int, ip string, port int) (*ipv4.PacketConn, error) {
    Severity: Minor
    Found in transit/tcp/udp.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status