router

package
v0.0.0-...-041d7a3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Cfg     *config.Config
	Log     logger.Logger
	HTTPCli *http.Client
	Cache   *cache.Cache
}

type Router

type Router struct {
	// contains filtered or unexported fields
}

func New

func New(opts *Options) *Router

func (*Router) Serve

func (r *Router) Serve() error

Jump to

Keyboard shortcuts

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