standards

package
v0.1.112 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 4 Imported by: 3

Documentation

Index

Constants

View Source
const OpenAPIPath = "openapi/api.swagger.json"
View Source
const ProtoPath = "proto/api.proto"

Variables

View Source
var (
	Unknown = "unknown"
	GRPC    = "grpc"
	REST    = "rest"
	HTTP    = "http"
	TCP     = "tcp"
)

Functions

func APIS

func APIS() []string

func IsSupportedAPI

func IsSupportedAPI(kind string) error

func LocalhostAddress

func LocalhostAddress(api string) string

func Port

func Port(api string) uint16

func PortAddress

func PortAddress(api string) string

func PortAddressForEndpoint

func PortAddressForEndpoint(endpoint string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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