Skip to content

Commit

Permalink
private vars only
Browse files Browse the repository at this point in the history
  • Loading branch information
snadrus committed Jul 30, 2024
1 parent dea08ea commit 679c9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type ServerConfig struct {
errors *Errors

reverseClientBuilder func(context.Context, *wsConn) (context.Context, error)
Logger Tracer
tracer Tracer
}

type ServerOption func(c *ServerConfig)
Expand Down Expand Up @@ -63,7 +63,7 @@ func WithServerPingInterval(d time.Duration) ServerOption {
// This is useful for debugging a client-server interaction.
func WithTracer(l Tracer) ServerOption {
return func(c *ServerConfig) {
c.Logger = l
c.tracer = l
}
}

Expand Down

0 comments on commit 679c9a3

Please sign in to comment.