Fix previous commit

This commit is contained in:
Anders Pitman 2021-12-21 13:59:55 -07:00
parent 0934799ccd
commit 811f25ce3e

View File

@ -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) {