package
0.0.0-20240528100830-79c95e3d0934
Repository: https://github.com/go-kratos/examples.git
Documentation: pkg.go.dev

# Functions

GetRegistry returns a registry instance for the current request.
NewCookie returns an http.Cookie with the options set.
NewCookieStore returns a new CookieStore.
No description provided by the author
NewSession is called by session stores to create a new session instance.
Save saves all sessions used during the current request.

# Structs

CookieStore stores sessions using secure cookies.
GobSerializer uses gob package to encode the session map.
JSONSerializer encode the session map to JSON.
Options stores configuration for a session or session store.
RedisStore stores sessions in a redis backend.
Registry stores sessions used during a request.
Session stores the values and optional configuration for a session.

# Interfaces

SessionSerializer provides an interface hook for alternative serializers.
No description provided by the author

# Type aliases

MultiError stores multiple errors.