fictionbase

package module
v0.0.0-...-9e44151 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: MIT Imports: 11 Imported by: 1

README

fictionbase CircleCI codecov releases

AWS managed Runtime Base

Install

I am preparing...

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Logger zap.Logger

Functions

func GetLogger

func GetLogger() *zap.Logger

GetLogger return zap.Logger

func SendFictionbaseMessage

func SendFictionbaseMessage(fb interface{}) (err error)

SendFictionbaseMessage Send Message To FictionBase

func SetViperConfig

func SetViperConfig()

SetViperConfig Set And Read ViperConfig

Types

type Cw

type Cw struct {
	// contains filtered or unexported fields
}

Cw Service Client Operator

func NewCw

func NewCw() *Cw

NewCw Create New cloudwatch struct

func (Cw) GetCloudWatch

func (Cw Cw) GetCloudWatch(nameSpace string, metricName string, dimensionsName string) *cloudwatch.ListMetricsOutput

GetCloudWatch get data to CloudWatch

func (Cw) SendCloudWatch

func (Cw Cw) SendCloudWatch(input *cloudwatch.PutMetricDataInput) error

SendCloudWatch send data to CloudWatch

type MessageBase

type MessageBase struct {
	TypeKey    string    `json:"type_key"`
	StorageKey string    `json:"storage_key"`
	TimeKey    time.Time `json:"time_key"`
}

MessageBase fictionBase

type Sqs

type Sqs struct {
	// contains filtered or unexported fields
}

Sqs Service Client Operator

func NewSqs

func NewSqs() *Sqs

NewSqs Create New sqs struct

func (Sqs) DeleteFictionbaseMessage

func (s Sqs) DeleteFictionbaseMessage(msg *sqs.Message) error

DeleteFictionbaseMessage Delete Message From FictionBase

func (Sqs) GetFictionbaseMessage

func (s Sqs) GetFictionbaseMessage() ([]*sqs.Message, error)

GetFictionbaseMessage Get Message From FictionBase

Directories

Path Synopsis
cmd
type

Jump to

Keyboard shortcuts

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