MCPcopy Create free account
hub / github.com/kataras/iris / Visit

Method Visit

sessions/session.go:512–514  ·  view source on GitHub ↗

Visit loops each of the entries and calls the callback function func(key, value).

(cb func(k string, v interface{}))

Source from the content-addressed store, hash-verified

510
511// Visit loops each of the entries and calls the callback function func(key, value).
512func (s *Session) Visit(cb func(k string, v interface{})) {
513 s.provider.db.Visit(s.sid, cb)
514}
515
516// Len returns the total number of stored values in this session.
517func (s *Session) Len() int {

Callers

nothing calls this directly

Calls 1

VisitMethod · 0.65

Tested by

no test coverage detected