Files
bifrost/transports/bifrost-http/handlers/init.go
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

21 lines
355 B
Go

package handlers
import "github.com/maximhq/bifrost/core/schemas"
var version string
var logger schemas.Logger
// SetLogger sets the logger for the application.
func SetLogger(l schemas.Logger) {
logger = l
}
// SetVersion sets the version for the application.
func SetVersion(v string) {
version = v
}
func GetVersion() string {
return version
}