Documentation ¶
Index ¶
- type Handler
- type Layer
- type LayersStore
- func (s *LayersStore) AddLayer(layer layer.Layer) *LayersStore
- func (s *LayersStore) Delete(path string, options Layer, handlers ...Handler) *LayersStore
- func (s *LayersStore) Get(path string, options Layer, handlers ...Handler) *LayersStore
- func (s *LayersStore) GetLayers() []layer.Layer
- func (s *LayersStore) Method(method string, path string, layer Layer, handlers ...Handler) *LayersStore
- func (s *LayersStore) Patch(path string, options Layer, handlers ...Handler) *LayersStore
- func (s *LayersStore) Post(path string, options Layer, handlers ...Handler) *LayersStore
- func (s *LayersStore) Put(path string, options Layer, handlers ...Handler) *LayersStore
- func (s *LayersStore) Use(layer layer.Layer, handlers ...layer.Handler) *LayersStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LayersStore ¶
type LayersStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(normalizer layer.INormalizer) *LayersStore
func (*LayersStore) AddLayer ¶
func (s *LayersStore) AddLayer(layer layer.Layer) *LayersStore
func (*LayersStore) Delete ¶
func (s *LayersStore) Delete(path string, options Layer, handlers ...Handler) *LayersStore
func (*LayersStore) Get ¶
func (s *LayersStore) Get(path string, options Layer, handlers ...Handler) *LayersStore
func (*LayersStore) GetLayers ¶
func (s *LayersStore) GetLayers() []layer.Layer
func (*LayersStore) Method ¶
func (s *LayersStore) Method(method string, path string, layer Layer, handlers ...Handler) *LayersStore
func (*LayersStore) Patch ¶
func (s *LayersStore) Patch(path string, options Layer, handlers ...Handler) *LayersStore
func (*LayersStore) Post ¶
func (s *LayersStore) Post(path string, options Layer, handlers ...Handler) *LayersStore
func (*LayersStore) Put ¶
func (s *LayersStore) Put(path string, options Layer, handlers ...Handler) *LayersStore
func (*LayersStore) Use ¶
func (s *LayersStore) Use(layer layer.Layer, handlers ...layer.Handler) *LayersStore
Click to show internal directories.
Click to hide internal directories.