2024-01-12 00:11:53 +00:00
|
|
|
package interfaces
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/viper"
|
|
|
|
"go.uber.org/zap"
|
|
|
|
"gorm.io/gorm"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Portal interface {
|
|
|
|
Initialize() error
|
|
|
|
Run()
|
|
|
|
Config() *viper.Viper
|
|
|
|
Logger() *zap.Logger
|
|
|
|
Db() *gorm.DB
|
2024-01-12 04:13:10 +00:00
|
|
|
ApiRegistry() APIRegistry
|
2024-01-12 00:11:53 +00:00
|
|
|
}
|