force

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestApi

type RestApi struct {
	Connection *RestConnection
}

func Login

func Login(consumerKey string, consumerSecret string, instanceUrl string, username string, password string, apiVersion string) (api *RestApi, err error)

Login is logging-in the User to the Salesforce organization

type RestConnection

type RestConnection struct {
	force.Connection
}

func (*RestConnection) Get

func (conn *RestConnection) Get(url string, query url.Values) (result []byte, err error)

func (*RestConnection) MakeRequest

func (conn *RestConnection) MakeRequest(method string, url string, payload interface{}, params url.Values) (result []byte, err error)

Executes an HTTP Request against the Skuid Pages REST API

func (*RestConnection) Post

func (conn *RestConnection) Post(url string, payload interface{}) (result []byte, err error)

Jump to

Keyboard shortcuts

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