apiproxy

package
v0.0.0-...-d2b1cdf Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server contains all structs necessary to run API Proxy server.

func NewServer

func NewServer() *Server

NewServer creates an new API Proxy instance.

Jump to

Keyboard shortcuts

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