Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerService ¶
type ServerService interface { Create(ctx context.Context, serverPO *bo.Server) error Delete(ctx context.Context, id uint64) error Update(ctx context.Context, serverPO *bo.Server) error FindByID(ctx context.Context, id uint64) (*bo.Server, error) FindByPage(ctx context.Context, pageNum int, pageSize int) ([]*bo.Server, int, error) }
func NewServerService ¶
func NewServerService( db *gorm.DB, serverRepository repositories.ServerRepository, ) ServerService
Click to show internal directories.
Click to hide internal directories.