daemon

package
v0.0.0-...-283e1aa Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevels         = map[string]log.Level{"DEBUG": log.DebugLevel, "INFO": log.InfoLevel, "WARN": log.WarnLevel}
	RabbitQueueUrl    string
	QueueName         string
	EventExchangeName string
	ExchangeType      string
)

Functions

func ConfigureService

func ConfigureService()

Function used to configure service settings

func OverrideBoolVariable

func OverrideBoolVariable(key string, DefaultValue bool) bool

Function used to override configuration variables with some value by defaulting from environment variables

func OverrideFloatVariable

func OverrideFloatVariable(key string, DefaultValue float64) float64

Function used to override configuration variables with some value by defaulting from environment variables

func OverrideIntegerVariable

func OverrideIntegerVariable(key string, DefaultValue int) int

Function used to override configuration variables with some value by defaulting from environment variables

func OverrideStringVariable

func OverrideStringVariable(key string, DefaultValue string) string

Function used to override configuration variables with some value by defaulting from environment variables

Types

type GoGetGitDaemon

type GoGetGitDaemon struct{}

define struct used to control daemon

func New

func New() *GoGetGitDaemon

function used to create new daemon

func (GoGetGitDaemon) ProcessRabbitMessage

func (daemon GoGetGitDaemon) ProcessRabbitMessage(payload []byte)

function used to define how rabbitMQ messages are handled

func (GoGetGitDaemon) Run

func (daemon GoGetGitDaemon) Run()

function used to create go-get-git daemon

Jump to

Keyboard shortcuts

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