cmd

package
v0.0.0-...-3c6562c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

func NewRouter

func NewRouter(params Params, additionalOptions ...core.Option) (*core.Router, error)

NewRouter creates a new router instance.

additionalOptions can be used to override default options or options provided in the config.

Types

type Params

type Params struct {
	Config *config.Config
	Logger *zap.Logger
}

Params are all required for the router to start up

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL