Documentation
¶
Index ¶
- Constants
- type Second
- func (s *Second) AddToCart(session string, item string, count int)
- func (s *Second) CacheRequest(r *http.Request, callback func() string) string
- func (s *Second) CanCache() bool
- func (s *Second) CheckToken(token string) string
- func (s *Second) CleanFullSessions()
- func (s *Second) CleanSessions()
- func (s *Second) RescaleViewed()
- func (s *Second) UpdateToken(token string, user string, item string)
Constants ¶
View Source
const (
LIMIT = 1000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Second ¶
type Second struct {
// contains filtered or unexported fields
}
func (*Second) CacheRequest ¶
func (*Second) CheckToken ¶
func (*Second) CleanFullSessions ¶
func (s *Second) CleanFullSessions()
func (*Second) CleanSessions ¶
func (s *Second) CleanSessions()
func (*Second) RescaleViewed ¶
func (s *Second) RescaleViewed()
Click to show internal directories.
Click to hide internal directories.