Documentation
¶
Index ¶
- type Config
- type Controller
- type RealmController
- func (sb *RealmController) Clear() (err error)
- func (sb *RealmController) Delete(key string) (err error)
- func (sb *RealmController) Get(key string, unmarshallAsJSON interface{}) (found bool, err error)
- func (sb *RealmController) Has(key string) (exists bool)
- func (sb *RealmController) Keys() (keys []string)
- func (sb *RealmController) NbKeys() (nbKeys int)
- func (sb *RealmController) Set(key string, marshall2JSON interface{}) (err error)
- func (sb *RealmController) Sync() (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(conf Config) (c *Controller, err error)
func (*Controller) Backup ¶ added in v0.2.0
func (c *Controller) Backup()
func (*Controller) NewScoppedAccess ¶
func (c *Controller) NewScoppedAccess(realm string) *RealmController
func (*Controller) Stop ¶
func (c *Controller) Stop()
type RealmController ¶
type RealmController struct {
// contains filtered or unexported fields
}
func (*RealmController) Clear ¶
func (sb *RealmController) Clear() (err error)
func (*RealmController) Delete ¶
func (sb *RealmController) Delete(key string) (err error)
func (*RealmController) Get ¶
func (sb *RealmController) Get(key string, unmarshallAsJSON interface{}) (found bool, err error)
func (*RealmController) Has ¶
func (sb *RealmController) Has(key string) (exists bool)
func (*RealmController) Keys ¶
func (sb *RealmController) Keys() (keys []string)
func (*RealmController) NbKeys ¶
func (sb *RealmController) NbKeys() (nbKeys int)
func (*RealmController) Set ¶
func (sb *RealmController) Set(key string, marshall2JSON interface{}) (err error)
func (*RealmController) Sync ¶
func (sb *RealmController) Sync() (err error)
Click to show internal directories.
Click to hide internal directories.