mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-20 02:00:05 -08:00
update golangci-lint configuration (#5182)
This commit is contained in:
parent
ac1d4360b2
commit
ff187b6d8a
80 changed files with 294 additions and 309 deletions
|
|
@ -71,8 +71,8 @@ func (c *conn) remoteAddr() net.Addr {
|
|||
}
|
||||
|
||||
// Log implements logger.Writer.
|
||||
func (c *conn) Log(level logger.Level, format string, args ...interface{}) {
|
||||
c.parent.Log(level, "[conn %v] "+format, append([]interface{}{c.nconn.RemoteAddr()}, args...)...)
|
||||
func (c *conn) Log(level logger.Level, format string, args ...any) {
|
||||
c.parent.Log(level, "[conn %v] "+format, append([]any{c.nconn.RemoteAddr()}, args...)...)
|
||||
}
|
||||
|
||||
func (c *conn) ip() net.IP {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue