Documentation ¶
Index ¶
- func Open(path string) (*sql.DB, error)
- type Count
- type Crypt
- type Link
- func (l Link) Create(link models.Link) (models.Link, error)
- func (l Link) Delete(link models.Link) error
- func (l Link) GetAllByUser(user models.UserInfo) ([]models.Link, error)
- func (l Link) GetByAPIPoint(link models.Link) (models.Link, error)
- func (l Link) GetByID(link models.Link) (models.Link, error)
- func (l Link) IsApiPointExist(str string) bool
- func (l Link) Scan(row *sql.Row) (models.Link, error)
- func (l Link) ScanRows(rows *sql.Rows) ([]models.Link, error)
- type User
- func (u User) Add(user models.UserConn) (models.UserInfo, error)
- func (u User) Connection(conn models.UserConn) (models.UserInfo, bool, error)
- func (u User) GetById(user models.UserInfo) (models.UserInfo, error)
- func (u User) IsUserExist(user models.UserInfo) bool
- func (u User) ScanConnection(row *sql.Row) (models.UserConn, error)
- func (u User) ScanInfo(row *sql.Row) (models.UserInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
func (Link) IsApiPointExist ¶
Click to show internal directories.
Click to hide internal directories.