server

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 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 ServerOptions) (*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 ServerOptions

type ServerOptions server.ServerOptions

ServerOptions 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