Documentation ¶
Index ¶
- type Handler
- type Store
- func (s Store) Add(ctx domain.RequestContext, l label.Label) (err error)
- func (s Store) Delete(ctx domain.RequestContext, id string) (rows int64, err error)
- func (s Store) Get(ctx domain.RequestContext) (l []label.Label, err error)
- func (s Store) RemoveReference(ctx domain.RequestContext, labelID string) (err error)
- func (s Store) Update(ctx domain.RequestContext, l label.Label) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler contains the runtime information such as logging and database.
func (*Handler) Add ¶
func (h *Handler) Add(w http.ResponseWriter, r *http.Request)
Add space label to the store.
func (*Handler) Delete ¶
func (h *Handler) Delete(w http.ResponseWriter, r *http.Request)
Delete removes space label from store and removes label association from spaces.
type Store ¶
type Store struct { store.Context store.LabelStorer }
Store provides data access to section template information.
func (Store) RemoveReference ¶
func (s Store) RemoveReference(ctx domain.RequestContext, labelID string) (err error)
RemoveReference clears space.labelID for given label.
Click to show internal directories.
Click to hide internal directories.