Documentation ¶
Overview ¶
Package Menshen LEAP API
the purpose of this application is to provide a service that uses go code and libraries to define the VPN provisioning API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLocationsFromEIPData ¶
func GetLocationsFromEIPData(eip *m.EIPServiceV3) locationMap
func InitMetricsServer ¶
func InitMetricsServer() *echo.Echo
func InitServer ¶
func InitServer(cfg *Config) *echo.Echo
func ParseEIPServiceFile ¶
func ParseEIPServiceFile(path string) (*m.EIPServiceV3, error)
Types ¶
type Config ¶
type Config struct { AllowGatewayListing bool AllowBridgeListing bool AutoTLS bool // EIP is an existing EIPv3 file in the local filesystem (legacy) EIP string // EIPULR is a remote endpoint where to fetch an existing EIPv3 file from (legacy) EIPURL string // LocalBridges is a list of addresses where the available bridge // containers expose their control ports. LocalBridges []string LoadBalancerAddr string Port int PortMetrics int ServerName string ClientCertURL string CaFile string DBFile string }
func (*Config) HasLegacyEIPFile ¶
Click to show internal directories.
Click to hide internal directories.