Start work on own tls termination and http3 support
Some checks are pending
/ docker (push) Waiting to run
Some checks are pending
/ docker (push) Waiting to run
This commit is contained in:
parent
4a2462e24e
commit
68d7a5e8c3
10 changed files with 634 additions and 698 deletions
|
@ -20,6 +20,7 @@ var AllTypes = []any{
|
|||
&RemoteServer{},
|
||||
&RemoteServerMetadata{},
|
||||
&Role{},
|
||||
&ServerMetadata{},
|
||||
&AccessToken{},
|
||||
&LoginProcessToken{},
|
||||
&User{},
|
||||
|
|
24
storage-new/models/ServerMetadata.go
Normal file
24
storage-new/models/ServerMetadata.go
Normal file
|
@ -0,0 +1,24 @@
|
|||
package models
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"time"
|
||||
)
|
||||
|
||||
type ServerMetadata struct {
|
||||
// Technically no id needed since expected to only ever store one entry in this table
|
||||
Id uint64 `gorm:"primarykey"`
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
|
||||
// ---- Section TLS LetsEncrypt
|
||||
LEDomain string
|
||||
LECertUrl string
|
||||
LECertStableUrl string
|
||||
LEPrivateKey []byte // Encrypted
|
||||
LECertificate []byte // Encrypted
|
||||
LEIssuerCertificate []byte // Encrypted
|
||||
LECSR []byte // Encrypted
|
||||
LELastUpdate sql.NullTime
|
||||
LEUserPrivKey []byte // Encrypted
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue