standards

package
v0.1.144 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 4 Imported by: 5

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.

Jump to

Keyboard shortcuts

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