database: no more gorethink
This commit is contained in:
parent
3952248c6a
commit
d7461cfbf5
|
@ -15,8 +15,8 @@ const (
|
|||
|
||||
// CachedCert is an individual cached certificate in the database.
|
||||
type CachedCert struct {
|
||||
Key string `gorethink:"id" storm:"id"`
|
||||
CryptoLevel CryptoLevel `gorethink:"cryptoLevel"`
|
||||
Key string `storm:"id"`
|
||||
CryptoLevel CryptoLevel
|
||||
// PEM-encoded bytes with the above crypto level as a filter.
|
||||
Body []byte `gorethink:"body"`
|
||||
Body []byte
|
||||
}
|
||||
|
|
|
@ -7,11 +7,9 @@ import (
|
|||
|
||||
// Route is a single HTTP route.
|
||||
type Route struct {
|
||||
ID string `gorethink:"id,omitempty" storm:"id"`
|
||||
ID string `storm:"id"`
|
||||
Creator string
|
||||
Hostname string `gorethink:"hostname" storm:"index"`
|
||||
|
||||
Token string `gorethink:"token" storm:"-"` // deprecated
|
||||
Hostname string `storm:"index"`
|
||||
}
|
||||
|
||||
// F https://godoc.org/github.com/Xe/ln#F
|
||||
|
|
Loading…
Reference in New Issue