Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserSession ¶
type UserSession struct { Pool *redis.Pool Service player.UserService }
func NewUserService ¶
func NewUserService(addr string, service player.UserService) *UserSession
func (*UserSession) Authenticate ¶
func (s *UserSession) Authenticate(token string) (*player.User, error)
func (*UserSession) Logout ¶
func (s *UserSession) Logout(token string)
type VideoFinder ¶
type VideoFinder struct { Pool *redis.Pool Finder player.VideoFinder }
func NewVideoSearcher ¶
func NewVideoSearcher(addr string, finder player.VideoFinder) *VideoFinder
Click to show internal directories.
Click to hide internal directories.