thirdpartyservices

package
v1.3.7-beta4 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostgresPassword      = "awesome-palm"
	PostgresDatabaseName  = "palm"
	PostgresHost          = "127.0.0.1"
	PostgresPort          = 5435
	PostgresUser          = "palm-user"
	PostgresContainerName = "palm-postgres"
	PostgresImageName     = "postgres:12.4"
)

Variables

View Source
var (
	RabbitMQHost          = "127.0.0.1"
	RabbitMQPort          = "5676"
	RabbitUser            = "palm-user"
	RabbitPass            = "awesome-palm-password"
	RabbitMQContainerName = "palm-mq"
	RabbitMQImageName     = "rabbitmq:3-management"
	RabbitVHost           = "palm"
)

Functions

func EnvOr

func EnvOr(f, value string) string

PALM_POSTGRES_HOST PALM_POSTGRES_PORT PALM_POSTGRES_DB PALM_POSTGRES_USER PALM_POSTGRES_PASSWORD

func GetAMQPUrl

func GetAMQPUrl() string

func GetPostgresParams

func GetPostgresParams() string

func PullPostgresImage

func PullPostgresImage() error

func PullRabbitMQImage

func PullRabbitMQImage() error

func StartPostgres

func StartPostgres(pgdir string) error

func StartRabbitMQ

func StartRabbitMQ() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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