store

package
v0.0.0-...-cd00165 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler = layer.Handler

type Layer

type Layer = layer.Layer

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL