Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRepository ¶
type Post ¶
type Post interface { FindByID(id string) (*entity.Post, error) FindAll(offset, pageSize int, condition string, params []interface{}, sortCondition string) ([]*entity.Post, error) FindByPermalink(permalink string) (*entity.Post, error) Create(post *entity.Post) error Update(post *entity.Post) error Delete(id string) error Count(condition string, params []interface{}) (int, error) }
type User ¶
type User interface { FindByID(id string) (*entity.User, error) FindAll(offset, pageSize int, condition string, params []interface{}) ([]*entity.User, error) FindByMailAddress(mailAddress string) (*entity.User, error) Create(user *entity.User) error UpdateLastLoggedinAt(user *entity.User) error DeleteByMailAddress(id string) error }
Click to show internal directories.
Click to hide internal directories.