Skip to content

Commit

Permalink
proxy: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Apr 10, 2024
1 parent c9ee715 commit f4dc4f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ type Proxy struct {
}

// New creates a new Proxy with the specified configuration. c must not be nil.
//
// TODO(e.burkov): Cover with tests.
func New(c *Config) (p *Proxy, err error) {
p = &Proxy{
Config: *c,
Expand Down

0 comments on commit f4dc4f3

Please sign in to comment.