Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppPort = "3000" AppHost = "http://127.0.0.1" HealthCheckRoute = "/healthcheck" HerokuIntegrationSalesforceAuthPath = "/invocations/authentication" HerokuIntegrationDataActionTargetAuthPath = "/data_action_targets/authenticate" YamlFileName = "heroku-integration-service-mesh.yaml" )
Heroku Integration authentication API paths
Variables ¶
View Source
var VERSION = "v0.12.6"
VERSION is the app-global version string, which should be substituted with a real value during build. Follows semantic versioning: MAJOR.MINOR.PATCH
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication struct {
BypassRoutes []string `yaml:"bypassRoutes"`
}
type Config ¶
type Config struct { HerokuInvocationToken string HerokuIntegrationUrl string HerokuInvocationSalesforceAuthPath string HerokuIntegrationDataActionTargetAuthPath string PrivatePort string PublicPort string ShouldBypassAllRoutes bool Version string YamlConfig *YamlConfig }
func GetConfigWithYamlFile ¶
func GetConfigWithYamlFile() *Config
type HealthCheck ¶
type Mesh ¶
type Mesh struct { Authentication Authentication `yaml:"authentication"` HealthCheck HealthCheck `yaml:"healthcheck"` }
type YamlConfig ¶
func InitYamlConfig ¶
func InitYamlConfig(yamlFileName string) (*YamlConfig, error)
Click to show internal directories.
Click to hide internal directories.