Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardKeyRepo ¶
type DashboardMemberRepo ¶
type DashboardMemberRepo interface { GetByDashId(id int) (types.DashMembers, error) GetByUserId(id int) (types.DashMembers, error) Create(m *types.DashMember) error Remove(id int) error }
type DashboardRepo ¶
type Repos ¶
type Repos struct { User UserRepo Dashboard DashboardRepo DashboardMember DashboardMemberRepo DashboardKey DashboardKeyRepo Count CountRepo Log LogRepo }
type UserRepo ¶
type UserRepo interface { GetAll() (types.Users, error) GetById(id int) (*types.User, error) GetByUsername(username string) (*types.User, error) Upsert(githubId int64, username string, role int) (*types.User, error) Create(githubId int64, username string, role int) (*types.User, error) LoginAt(id int) error }
Click to show internal directories.
Click to hide internal directories.