Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SortOptions ¶
type SortOptions struct { // Get first n elements. First *int32 // Get last n elements. Last *int32 // Before cursor. Before ksuid.KSUID // After cursor. After ksuid.KSUID }
Query sorting options.
type UserSession ¶
type UserSession struct { // User session id. Id ksuid.KSUID // User session owner. UserId ksuid.KSUID // User session payload. Payload string // User ip address. Ip string // User session expires in. ExpiresIn time.Time }
User auth session.
type UserSignInInput ¶
type UserSignInInput struct { // Username. Username string // User password hash. Password string // Client secret key. Secret string // User ip address. Ip string }
User SignIn auth input.
type UserSignUpInput ¶
type UserSignUpInput struct { // Unique username. Username string // Unique user email address. Email string // User password hash. Password string // Client secret key. Secret string // Verification code. Code uint64 // User ip address. Ip string }
User SignUp auth input.
type UserTokens ¶
User auth tokens.
Click to show internal directories.
Click to hide internal directories.