Documentation
¶
Overview ¶
Package standards defines the small set of API-type constants used across the codefly stack: TCP, HTTP, REST, GRPC.
These constants flow through endpoint definitions and network instances; agents and the gateway use them to pick the right transport and code-generation pipeline for each declared endpoint.
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" CONNECT = "connect" )
Functions ¶
func IsSupportedAPI ¶
func LocalhostAddress ¶
func PortAddress ¶
func PortAddressForEndpoint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.