web

package
v0.22.4 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Package web is a web dashboard

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name default server name
	Name = "go.vine.web"
	// Address default address to bind to
	Address = ":8082"
	// Namespace the namespace to serve
	// Example:
	// Namespace + /[Service]/foo/bar
	// Host: Namespace.Service Endpoint: /foo/bar
	Namespace = "go.vine"
	Type      = "web"
	Resolver  = "path"
	// BasePathHeader base path sent to web service.
	// This is stripped from the request path
	// Allows the web service to define absolute paths
	BasePathHeader = "X-Vine-Web-Base-Path"

	// Host name the web dashboard is served on
	Host, _ = os.Hostname()
)

Meta Fields of vine web

Functions

func Commands

func Commands(options ...vine.Option) []*cli.Command

Commands for `vine web`

func Run

func Run(ctx *cli.Context, svcOpts ...vine.Option)

Types

This section is empty.

Jump to

Keyboard shortcuts

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