Help us shape the future of Go! Take the 2026 Go Developer Survey

web

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 26 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) []*cobra.Command

Commands for `vine web`

func Run

func Run(c *cobra.Command, svcOpts ...vine.Option) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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