// CreateLocalChannel creates an HTTP AppChannel
// nolint:gosec
CreateLocalChannel creates an HTTP AppChannel
nolint:gosec
// CreateLocalChannel creates an HTTP AppChannel // nolint : gosec
func CreateLocalChannel(port, maxConcurrency int) (channel.AppChannel, error) {
	c := &Channel{
		client:      &fasthttp.Client{MaxConnsPerHost: 1000000, TLSConfig: &tls.Config{InsecureSkipVerify: true}, ReadTimeout: time.Second * 60, MaxIdemponentCallAttempts: 0},
		baseAddress: fmt.Sprintf("http://127.0.0.1:%v", port),
	}
	if maxConcurrency > 0 {
		c.ch = make(chan int, maxConcurrency)
	}
	return c, nil
}
func CreateLocalChannel ( port , maxConcurrency int ) ( channel . AppChannel , error ) { c := & Channel { client : & fasthttp . Client { MaxConnsPerHost : 1000000 , TLSConfig : & tls . Config { InsecureSkipVerify : true } , ReadTimeout : time . Second * 60 , MaxIdemponentCallAttempts : 0 } , baseAddress : fmt . Sprintf ( " " , port ) , } if maxConcurrency > 0 { c . ch = make ( chan int , maxConcurrency ) } return c , nil }
CreateLocalChannel creates an HTTP AppChannel
nolint:gosec
CreateLocalChannel creates an HTTP AppChannel nolint : gosec