gmailtest

package
v0.0.0-...-b1c42b9 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CredentialsJSON

func CredentialsJSON() []byte

func RegisterMessageResponse

func RegisterMessageResponse(
	t *testing.T,
	transport *httpmock.MockTransport,
	messages ...Message,
)

func ToUnixMilli

func ToUnixMilli(
	t *testing.T,
	timestamp string,
) string

Types

type Message

type Message struct {
	ID        string
	ThreadID  string
	Body      string
	Timestamp string
}

type Opener

type Opener struct {
	AuthCode string
}

func (*Opener) Open

func (o *Opener) Open(ctx context.Context, u string) error

Jump to

Keyboard shortcuts

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