shared

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: AGPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UTCTimeStamp

func UTCTimeStamp() string

UTCTimeStamp Return UTC Time Stamp String in RFC 3339

Types

type AMQPConnection

type AMQPConnection struct {
	User     string                 `json:"user,omitempty"`
	Password string                 `json:"password,omitempty"`
	Server   *Server                `json:"server,omitempty"`
	VHost    string                 `json:"vhost,omitempty"`
	Options  map[string]interface{} `json:"options,omitempty"`
}

type Queue

type Queue struct {
	Servers     []AMQPConnection `json:"servers,omitempty"` // List of AMQP Servers
	QueuePrefix string           `json:"prefix,omitempty"`  // [REQUIRED] Prefix to Queue Name
}

func ToQueue

func ToQueue(source interface{}) (*Queue, error)

Helpers

type Queues

type Queues struct {
	Activation *Queue `json:"activation,omitempty"` // Message Queue Configuration: Activation
	Mail       *Queue `json:"mail,omitempty"`       // Message Queue Configuration: Email
}

type Server

type Server struct {
	Host string `json:"host,omitempty"`
	Port int    `json:"port,omitempty"`
}

TYPE DEFINTION FOR CONFIG FILE //

Jump to

Keyboard shortcuts

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