17 lines
284 B
Go
17 lines
284 B
Go
package handler
|
|
|
|
import (
|
|
"github.com/sirupsen/logrus"
|
|
"gitstore.ru/tolikproh/sirius/internal/model"
|
|
)
|
|
|
|
type Handler struct {
|
|
log *logrus.Logger
|
|
cfg *model.Config
|
|
}
|
|
|
|
func New(cfg *model.Config, log *logrus.Logger) *Handler {
|
|
// HTTP Server
|
|
return &Handler{cfg: cfg, log: log}
|
|
}
|