handlers

package
v0.0.0-...-34c969b Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddContact

func AddContact(client SimpleForceClient, contact *data.Contact) (events.APIGatewayProxyResponse, error)

func AddOpportunity

func AddOpportunity(opp data.Opportunity) ([]byte, error)

func UpdateContact

func UpdateContact(contact *data.Contact) (events.APIGatewayProxyResponse, error)

func UpdateOpportunity

func UpdateOpportunity(opp data.Opportunity, email string) ([]byte, error)

Types

type Contacts

type Contacts struct {
}

func NewContacts

func NewContacts() *Contacts

type Events

type Events struct{}

func NewEvents

func NewEvents() *Events

func (*Events) HandleEvents

type KeyContact

type KeyContact struct{}

type KeyEvents

type KeyEvents struct{}

type Opportunities

type Opportunities struct {
}

func NewOpportunity

func NewOpportunity() *Opportunities

type SimpleForceClient

type SimpleForceClient interface {
	Query(query string) (*simpleforce.QueryResult, error)
	SObject(typeName ...string) *simpleforce.SObject
}

Jump to

Keyboard shortcuts

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