server

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cmd *cobra.Command, opt Options) (*azugo.App, error)

New returns new Azugo pre-configured server with default set of middlewares and default router options.

func Run

func Run(a server.Runnable)

Run starts an application and waits for it to finish.

Types

type Options added in v0.16.0

type Options server.Options

Options is a set of options for the server.

Jump to

Keyboard shortcuts

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