Documentation
¶
Index ¶
- Variables
- func NewRouter(opts ...Option) *core.Router
- type Option
- func WithEnableTelemetry(enable bool) Option
- func WithGraphApiToken(token string) Option
- func WithHttpPort(port string) Option
- func WithLogger(logger *zap.Logger) Option
- func WithRouterConfigPath(path string) Option
- func WithRouterOpts(opts ...core.Option) Option
- func WithStage(stage string) Option
- func WithTelemetryServiceName(name string) Option
- func WithTraceSampleRate(rate float64) Option
- type RouterConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version set by the build system. Version = "dev" // Commit set by the build system. Commit = "" // Date set by the build system. Date = "" )
Functions ¶
Types ¶
type Option ¶
type Option func(*RouterConfig)
func WithEnableTelemetry ¶
func WithGraphApiToken ¶
func WithHttpPort ¶
func WithLogger ¶
func WithRouterConfigPath ¶
func WithRouterOpts ¶
func WithTraceSampleRate ¶
Click to show internal directories.
Click to hide internal directories.