Skip to content

Commit

Permalink
fix ForwardsProto comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobsonchase committed Nov 28, 2023
1 parent 1fc5378 commit 4825d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/tunnel/proto/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ type Bind struct {
ClientID string `json:"Id"` // a session-unique bind ID generated by the client, if empty, one is generated
Proto string // the protocol to bind (one of 'http', 'https', 'tcp', 'tls', 'ssh')
ForwardsTo string // the address of the upstream service the ngrok agent will forward to
ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'h1', 'h2c')
ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'http1', 'http2')
Opts any // options for the bind - protocol dependent
Extra BindExtra // anything extra the application wants to send
}
Expand Down Expand Up @@ -236,7 +236,7 @@ type StartTunnelWithLabel struct {
// ID string `json:"-"` // a session-unique bind ID generated by the client, if empty, one is generated
Labels map[string]string // labels for tunnel group membership
ForwardsTo string // the address of the upstream service the ngrok agent will forward to
ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'h1', 'h2c')
ForwardsProto string // the L7 protocol the upstream service is expecting (one of '', 'http1', 'http2')
Metadata string
}

Expand Down

0 comments on commit 4825d0d

Please sign in to comment.