Base

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright © 2023 Chalukya J chalukyaj@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	REGION string
}

func (*Base) AttrMapInterfaceToMapString

func (b *Base) AttrMapInterfaceToMapString(msgAttrs interface{}, args map[string]interface{})

func (*Base) AttrMapStringToMapInterface

func (b *Base) AttrMapStringToMapInterface(args interface{}) map[string]interface{}

func (*Base) AwsSnsAttrToDict

func (b *Base) AwsSnsAttrToDict(args map[string]interface{}) map[string]interface{}

func (*Base) AwsSqsAttrToDict

func (b *Base) AwsSqsAttrToDict(args map[string]sqs_types.MessageAttributeValue) map[string]interface{}

func (*Base) CausePanic

func (b *Base) CausePanic(desc string, err error)

func (*Base) DictToAwsSnsAttr

func (b *Base) DictToAwsSnsAttr(args map[string]interface{}) map[string]sns_types.MessageAttributeValue

func (*Base) DictToAwsSqsAttr

func (b *Base) DictToAwsSqsAttr(args map[string]interface{}) map[string]sqs_types.MessageAttributeValue

func (*Base) GetAwsArn

func (b *Base) GetAwsArn(resource string, region string, account_id string, identifier string) string

func (*Base) GetParam

func (b *Base) GetParam(args map[string]interface{}, key string, def ...interface{}) interface{}

func (*Base) Init

func (b *Base) Init(args map[string]interface{})

Jump to

Keyboard shortcuts

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