Documentation
¶
Index ¶
Constants ¶
View Source
const TokenHeader string = "X-Lbry-Auth-Token"
TokenHeader is the name of HTTP header which is supplied by client and should contain internal-api auth_token.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RemoteUser ¶
RemoteUser encapsulates internal-apis user data
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
UserService stores manipulated user data
func NewUserService ¶
func NewUserService(token string) *UserService
NewUserService returns UserService instance for retrieving or creating user records and accounts.
Click to show internal directories.
Click to hide internal directories.