Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start( dbConfig db.Config, dbConnector db.Connector, dbMigrationTool db.MigrationTool, config ServiceConfig, )
Start launches the GraphQL & HTTP APIs
Types ¶
type ServiceConfig ¶
type ServiceConfig struct { Runtime string LogPrefix string LogLevel logger.LogLevel MigrationRoot string RecaptchaSecret string GithubClientID string GithubClientSecret string FacebookClientID string FacebookClientSecret string FacebookRedirectURI string GoogleClientID string GoogleClientSecret string GoogleRedirectURI string JwtSecret string WebFrontendURL string GraphQLAPIPort int HTTPAPIPort int GRPCAPIPort int EnableEncryption bool CertFilePath string KeyFilePath string KeyGenBufferSize int KgsHostname string KgsPort int AuthTokenLifetime time.Duration SearchTimeout time.Duration SwaggerUIDir string OpenAPISpecPath string GraphQLSchemaPath string GraphiQLDefaultQuery string DataDogAPIKey string SegmentAPIKey string IPStackAPIKey string GoogleAPIKey string }
ServiceConfig represents require parameters for the backend APIs
Click to show internal directories.
Click to hide internal directories.