diff --git a/instance.go b/instance.go index 2eb5e11..becd546 100644 --- a/instance.go +++ b/instance.go @@ -40,6 +40,16 @@ func Http() *http.Server { return std.Http() } +func Name() string { + initApplication() + return std.opts.Name +} + +func Version() string { + initApplication() + return std.opts.Version +} + func Debug() bool { initApplication() return std.opts.EnableDebug