Documentation ¶ Index ¶ Variables type Entry type Register func NewRegister() Register func (r Register) Add(pattern string, handler http.Handler) Register func (r Register) Find(pattern string) (Entry, p.Params, error) Constants ¶ This section is empty. Variables ¶ View Source var ErrNotFound = errors.New("entry not found") Functions ¶ This section is empty. Types ¶ type Entry ¶ type Entry struct { Handler http.Handler // contains filtered or unexported fields } type Register ¶ type Register []Entry func NewRegister ¶ func NewRegister() Register func (Register) Add ¶ func (r Register) Add(pattern string, handler http.Handler) Register func (Register) Find ¶ func (r Register) Find(pattern string) (Entry, p.Params, error) Source Files ¶ View all Source files entry.go register.go segment.go Click to show internal directories. Click to hide internal directories.