Documentation ¶
Overview ¶
Package mysql holds view model repositories
Package mysql holds view model repositories ¶
Package mysql holds view model repositories ¶
Package mysql holds view model repositories ¶
Package mysql holds view model repositories ¶
Package mysql holds view model repositories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientRepository ¶
func NewClientRepository(db *sql.DB) persistence.ClientRepository
NewClientRepository returns mysql view model repository for client
func NewTokenRepository ¶
func NewTokenRepository(db *sql.DB) persistence.TokenRepository
NewTokenRepository returns mysql view model repository for token
func NewUserRepository ¶
func NewUserRepository(db *sql.DB) persistence.UserRepository
NewUserRepository returns mysql view model repository for user
Types ¶
type Client ¶
type Client struct { ID string `json:"id"` UserID string `json:"userId"` Secret string `json:"secret"` Domain string `json:"domain"` Data json.RawMessage `json:"data"` }
Client model
Click to show internal directories.
Click to hide internal directories.