Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OnuUseCaseInterface ¶
type OnuUseCaseInterface interface { GetByBoardIDAndPonID(ctx context.Context, boardID, ponID int) ([]model.ONUInfoPerBoard, error) GetByBoardIDPonIDAndOnuID(boardID, ponID, onuID int) (model.ONUCustomerInfo, error) GetEmptyOnuID(ctx context.Context, boardID, ponID int) ([]model.OnuID, error) GetOnuSerialNumber(ctx context.Context, boardID, ponID int) ([]model.OnuSerialNumber, error) UpdateEmptyOnuID(ctx context.Context, boardID, ponID int) error GetByBoardIDAndPonIDWithPagination(boardID, ponID, page, pageSize int) ( []model.ONUInfoPerBoard, int, ) }
func NewOnuUsecase ¶
func NewOnuUsecase( snmpRepository repository.SnmpRepositoryInterface, redisRepository repository.OnuRedisRepositoryInterface, cfg *config.Config, ) OnuUseCaseInterface
Click to show internal directories.
Click to hide internal directories.