Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLimitItem ¶ added in v0.27.16
func NewLimitItem(max int) *limitItem
func WithFlush ¶ added in v0.28.1
func WithFlush(w http.ResponseWriter) http.ResponseWriter
func WithStatusCode ¶ added in v0.27.16
func WithStatusCode(w http.ResponseWriter, code int)
Types ¶
type Cache ¶ added in v0.27.13
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) Cache ¶ added in v0.27.15
func (t *Cache) Cache(key string, aliveDur time.Duration, w http.ResponseWriter) http.ResponseWriter
type Limits ¶ added in v0.27.16
type Limits struct {
// contains filtered or unexported fields
}
func (*Limits) AddLimitItem ¶ added in v0.27.16
func (t *Limits) AddLimitItem(item *limitItem)
type WebPath ¶ added in v0.22.4
func (*WebPath) LoadPerfix ¶ added in v0.28.20231202144738
type WebSync ¶ added in v0.22.4
func NewSyncMap ¶ added in v0.22.1
Click to show internal directories.
Click to hide internal directories.