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 ¶
- type Base
- func (b *Base) AttrMapInterfaceToMapString(msgAttrs interface{}, args map[string]interface{})
- func (b *Base) AttrMapStringToMapInterface(args interface{}) map[string]interface{}
- func (b *Base) AwsSnsAttrToDict(args map[string]interface{}) map[string]interface{}
- func (b *Base) AwsSqsAttrToDict(args map[string]sqs_types.MessageAttributeValue) map[string]interface{}
- func (b *Base) CausePanic(desc string, err error)
- func (b *Base) DictToAwsSnsAttr(args map[string]interface{}) map[string]sns_types.MessageAttributeValue
- func (b *Base) DictToAwsSqsAttr(args map[string]interface{}) map[string]sqs_types.MessageAttributeValue
- func (b *Base) GetAwsArn(resource string, region string, account_id string, identifier string) string
- func (b *Base) GetParam(args map[string]interface{}, key string, def ...interface{}) interface{}
- func (b *Base) Init(args map[string]interface{})
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 (*Base) AttrMapStringToMapInterface ¶
func (*Base) AwsSnsAttrToDict ¶
func (*Base) AwsSqsAttrToDict ¶
func (b *Base) AwsSqsAttrToDict(args map[string]sqs_types.MessageAttributeValue) map[string]interface{}
func (*Base) CausePanic ¶
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