Documentation ¶
Index ¶
- type Manager
- func (ks *Manager) Check(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ks *Manager) CheckKeyset(keyset string) bool
- func (ks *Manager) Create(keyset string) gobol.Error
- func (ks *Manager) CreateKeyset(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ks *Manager) Delete(keyset string) gobol.Error
- func (ks *Manager) DeleteKeyset(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ks *Manager) GetKeysets(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func (ks *Manager) IsKeysetNameValid(keyset string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager - the keyset
func (*Manager) Check ¶
func (ks *Manager) Check(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Check if a keyspace exists
func (*Manager) CheckKeyset ¶
CheckKeyset - checks if keyset exists
func (*Manager) CreateKeyset ¶
func (ks *Manager) CreateKeyset(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
CreateKeyset - creates a new keyset
func (*Manager) DeleteKeyset ¶
func (ks *Manager) DeleteKeyset(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
DeleteKeyset - deletes a keyset
func (*Manager) GetKeysets ¶
func (ks *Manager) GetKeysets(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
GetKeysets - returns all stored keysets
func (*Manager) IsKeysetNameValid ¶
IsKeysetNameValid - checks if the keyset name is valid
Click to show internal directories.
Click to hide internal directories.