cmd

package
v0.0.0-...-0911b43 Latest Latest
Warning

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

Go to latest
Published: May 2, 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