apiproxy

package
v0.0.0-...-ac6a2c4 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHostServiceProcedures

func BuildHostServiceProcedures(outbound transport.UnaryOutbound) []transport.Procedure

BuildHostServiceProcedures builds forwarding procedures for all available procedures in HostServiceYARPCClient with given outbound. TODO: Construct all yarpc servers as a slice of interface and further consolidating

procedures building functions.

Types

type Config

type Config struct {
	// HTTP port which API Proxy is listening on
	HTTPPort int `yaml:"http_port"`

	// gRPC port which API Proxy is listening on
	GRPCPort int `yaml:"grpc_port"`
}

Config contains APIProxy specific configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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