google

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvatarFetchFunc

type AvatarFetchFunc func(context.Context, string) (model.SourceAvatar, error)

type GogAdapter

type GogAdapter struct {
	Binary      string
	FetchAvatar AvatarFetchFunc
}

func (GogAdapter) ListContacts

func (g GogAdapter) ListContacts(ctx context.Context, account string) ([]model.SourceContact, error)

func (GogAdapter) ListContactsWithOptions

func (g GogAdapter) ListContactsWithOptions(ctx context.Context, account string, opts Options) ([]model.SourceContact, error)

type Options

type Options struct {
	IncludeAvatars    bool
	AvatarConcurrency int
}

Jump to

Keyboard shortcuts

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