Files
QSfera/Server/qsfera/pkg/runtime/options.go
Курнат Андрей 2315f25754 Initial QSfera import
2026-06-07 10:20:04 +03:00

22 lines
340 B
Go

package runtime
import (
"github.com/qsfera/server/pkg/log"
)
// Options is a runtime option
type Options struct {
Services []string
Logger log.Logger
}
// Option undocumented
type Option func(o *Options)
// Services option
func Services(s []string) Option {
return func(o *Options) {
o.Services = append(o.Services, s...)
}
}