client

package
v0.0.0-...-e769edc Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvironmentType

type EnvironmentType int
const (
	SANDBOX EnvironmentType = iota
	PRODUCTION
	YINXIANG
	SANDBOX_YINXIANG
)

type EvernoteClient

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

func NewClient

func NewClient(key, secret string, envType EnvironmentType) *EvernoteClient

func (*EvernoteClient) GetAuthorizedToken

func (c *EvernoteClient) GetAuthorizedToken(requestToken *oauth.RequestToken, oauthVerifier string) (*oauth.AccessToken, error)

func (*EvernoteClient) GetNoteStore

func (c *EvernoteClient) GetNoteStore(ctx context.Context, authenticationToken string) (*edam.NoteStoreClient, error)

func (*EvernoteClient) GetNoteStoreWithURL

func (c *EvernoteClient) GetNoteStoreWithURL(notestoreURL string) (*edam.NoteStoreClient, error)

func (*EvernoteClient) GetRequestToken

func (c *EvernoteClient) GetRequestToken(callBackURL string) (*oauth.RequestToken, string, error)

func (*EvernoteClient) GetUserStore

func (c *EvernoteClient) GetUserStore() (*edam.UserStoreClient, error)

Jump to

Keyboard shortcuts

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