mirror of
https://github.com/kataras/iris.git
synced 2026-01-02 09:47:17 +00:00
add my new trie data structure implementation written from scratch and specifically designed for HTTP (and Iris) - see https://github.com/kataras/muxie for the net/http version of it
Former-commit-id: 4eed1585f29b57418b61f6de058f5d6db4bb98bf
This commit is contained in:
@@ -16,6 +16,13 @@ type RequestParams struct {
|
||||
memstore.Store
|
||||
}
|
||||
|
||||
// Set inserts a value to the key-value storage.
|
||||
//
|
||||
// See `SetImmutable` and `Get` too.
|
||||
func (r *RequestParams) Set(key, value string) {
|
||||
r.Store.Set(key, value)
|
||||
}
|
||||
|
||||
// GetEntryAt will return the parameter's internal store's `Entry` based on the index.
|
||||
// If not found it will return an emptry `Entry`.
|
||||
func (r *RequestParams) GetEntryAt(index int) memstore.Entry {
|
||||
|
||||
Reference in New Issue
Block a user