proxy

package
Version: v2.9.4 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package proxy is a cli proxy

Index

Constants

This section is empty.

Variables

View Source
var (
	// Name of the proxy
	Name = "go.micro.proxy"
	// The address of the proxy
	Address = ":8081"
	// the proxy protocol
	Protocol = "grpc"
	// The endpoint host to route to
	Endpoint string
	// ACME (Cert management)
	ACMEProvider          = "autocert"
	ACMEChallengeProvider = "cloudflare"
	ACMECA                = acme.LetsEncryptProductionCA
)

Functions

func Commands

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

func Plugins

func Plugins() []plugin.Plugin

Plugins lists the proxy plugins

func Register

func Register(pl plugin.Plugin) error

Register registers an proxy plugin

func Run

func Run(ctx *cli.Context, srvOpts ...micro.Option)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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