package service

import (
	"bsm/full/module/base/logs/internal/routers"
	"github.com/gin-gonic/gin"
)

type ExposeOptions struct {
	Dependencies
	Engine *gin.Engine
}

func Expose(options ExposeOptions) error {
	applyDependencies(options.Dependencies)
	routers.Register("logs", options.Engine)
	return nil
}
