models

package
v0.0.0-...-052d5b2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AWSConfigPath string            `yaml:"aws_config_path"`
	Queues        map[string]*Queue `yaml:"queues"`
}

Config - base configuration model for the config file

func (*Config) Create

func (c *Config) Create(configDirectoryPath, configFilePath string)

Create -

type NewMessageInput

type NewMessageInput struct {
	Body string `json:"body"`
}

NewMessageInput -

type Queue

type Queue struct {
	Messages []map[interface{}]interface{} `yaml:"messages"`
}

Queue -

type Response

type Response struct {
	Data interface{} `json:"data"`
}

Response - a helper struct to standardize the responses

Jump to

Keyboard shortcuts

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