accounts

package
v0.0.0-...-2e97daa Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

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

func NewAccount

func NewAccount(accountID AccountID, twitterID TwitterID) (*Account, error)

func (Account) AccountID

func (a Account) AccountID() AccountID

func (Account) TwitterID

func (a Account) TwitterID() TwitterID

type AccountID

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

func MustNewAccountID

func MustNewAccountID(id string) AccountID

func NewAccountID

func NewAccountID(id string) (AccountID, error)

func (AccountID) String

func (i AccountID) String() string

type TwitterID

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

func NewTwitterID

func NewTwitterID(id int64) TwitterID

func (TwitterID) Int64

func (i TwitterID) Int64() int64

type TwitterUserAccessSecret

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

func NewTwitterUserAccessSecret

func NewTwitterUserAccessSecret(s string) (TwitterUserAccessSecret, error)

func (TwitterUserAccessSecret) String

func (t TwitterUserAccessSecret) String() string

type TwitterUserAccessToken

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

func NewTwitterUserAccessToken

func NewTwitterUserAccessToken(s string) (TwitterUserAccessToken, error)

func (TwitterUserAccessToken) String

func (t TwitterUserAccessToken) String() string

type TwitterUserTokens

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

func NewTwitterUserTokens

func NewTwitterUserTokens(
	accountID AccountID,
	accessToken TwitterUserAccessToken,
	accessSecret TwitterUserAccessSecret,
) *TwitterUserTokens

func (TwitterUserTokens) AccessSecret

func (t TwitterUserTokens) AccessSecret() TwitterUserAccessSecret

func (TwitterUserTokens) AccessToken

func (t TwitterUserTokens) AccessToken() TwitterUserAccessToken

func (TwitterUserTokens) AccountID

func (t TwitterUserTokens) AccountID() AccountID

Jump to

Keyboard shortcuts

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