Versions in this module Expand all Collapse all v0 v0.1.0 Jun 24, 2026 Changes in this version + func RegisterDriver(name string, f DriverFactory) + type Contact struct + Emails []string + Extra map[string]string + ID string + Name string + Org string + Phones []string + Photo string + Source string + type ContactsProvider interface + Get func(ctx context.Context, id string) (*Contact, error) + List func(ctx context.Context, pageToken string) (contacts []Contact, next string, err error) + type DriverFactory func(k *togo.Kernel) (ContactsProvider, error) + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Driver() string + func (s *Service) Get(ctx context.Context, id string) (*Contact, error) + func (s *Service) Provider() ContactsProvider + func (s *Service) Sync(ctx context.Context) ([]Contact, error)