mirror of
https://github.com/boringproxy/boringproxy.git
synced 2025-02-25 18:55:29 -06:00
Fix previous commit
This commit is contained in:
parent
0934799ccd
commit
811f25ce3e
@ -51,14 +51,14 @@ type Tunnel struct {
|
|||||||
ClientAddress string `json:"client_address"`
|
ClientAddress string `json:"client_address"`
|
||||||
ClientPort int `json:"client_port"`
|
ClientPort int `json:"client_port"`
|
||||||
AllowExternalTcp bool `json:"allow_external_tcp"`
|
AllowExternalTcp bool `json:"allow_external_tcp"`
|
||||||
|
TlsTermination string `json:"tls_termination"`
|
||||||
|
|
||||||
// TODO: These are not used by clients and shouldn't be returned in
|
// TODO: These are not used by clients and possibly shouldn't be
|
||||||
// API calls.
|
// returned in API calls.
|
||||||
Owner string `json:"owner"`
|
Owner string `json:"owner"`
|
||||||
ClientName string `json:"client_name"`
|
ClientName string `json:"client_name"`
|
||||||
AuthUsername string `json:"auth_username"`
|
AuthUsername string `json:"auth_username"`
|
||||||
AuthPassword string `json:"auth_password"`
|
AuthPassword string `json:"auth_password"`
|
||||||
TlsTermination string `json:"tls_termination"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewDatabase() (*Database, error) {
|
func NewDatabase() (*Database, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user