config

package
v0.0.0-...-047e020 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfig

type AppConfig struct {
	AWSRegion          string
	S3Bucket           string
	Neo4jURI           string
	Neo4jUsername      string
	Neo4jPassword      string
	RedshiftConnString string
	FileStoragePath    string
	ShardDepth         int
}

func (*AppConfig) GetAWSRegion

func (c *AppConfig) GetAWSRegion() string

func (*AppConfig) GetFileStoragePath

func (c *AppConfig) GetFileStoragePath() string

func (*AppConfig) GetNeo4jPassword

func (c *AppConfig) GetNeo4jPassword() string

func (*AppConfig) GetNeo4jURI

func (c *AppConfig) GetNeo4jURI() string

func (*AppConfig) GetNeo4jUsername

func (c *AppConfig) GetNeo4jUsername() string

func (*AppConfig) GetRedshiftConnString

func (c *AppConfig) GetRedshiftConnString() string

func (*AppConfig) GetS3Bucket

func (c *AppConfig) GetS3Bucket() string

func (*AppConfig) GetShardDepth

func (c *AppConfig) GetShardDepth() int

type Config

type Config struct {
	AMQPService     amqp.AMQPService
	S3Service       storage.S3Service
	RedshiftService storage.RedshiftService
	Neo4jService    storage.Neo4jService
	UUIDService     uuid.UUIDService
	SearchService   search.SearchService
	Tracer          opentracing.Tracer
	TracerCloser    io.Closer
	Logger          *zap.SugaredLogger
	S3OffloadLimit  int64
	EnableS3        bool
	EnableRedshift  bool
}

func NewConfig

func NewConfig() (*Config, error)

Jump to

Keyboard shortcuts

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