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.
|
// CachedCert is an individual cached certificate in the database.
|
||||||
type CachedCert struct {
|
type CachedCert struct {
|
||||||
Key string `gorethink:"id" storm:"id"`
|
Key string `storm:"id"`
|
||||||
CryptoLevel CryptoLevel `gorethink:"cryptoLevel"`
|
CryptoLevel CryptoLevel
|
||||||
// PEM-encoded bytes with the above crypto level as a filter.
|
// 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.
|
// Route is a single HTTP route.
|
||||||
type Route struct {
|
type Route struct {
|
||||||
ID string `gorethink:"id,omitempty" storm:"id"`
|
ID string `storm:"id"`
|
||||||
Creator string
|
Creator string
|
||||||
Hostname string `gorethink:"hostname" storm:"index"`
|
Hostname string `storm:"index"`
|
||||||
|
|
||||||
Token string `gorethink:"token" storm:"-"` // deprecated
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// F https://godoc.org/github.com/Xe/ln#F
|
// F https://godoc.org/github.com/Xe/ln#F
|
||||||
|
|
Loading…
Reference in New Issue