googleApi

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CtxGoogleClientInstance

func CtxGoogleClientInstance(entry interface{}, ctx context.Context) context.Context

func NewGoogleAsInterface

func NewGoogleAsInterface(cfg config.Config, ctx context.Context) interface{}

Types

type GoogleClient

type GoogleClient interface {
	GetUsersFromApi(domain string) ([]data.User, error)
	GetDomainUserFromApi(email string) (*data.User, error)
	SearchByUsersFromApi(email string) ([]data.User, error)

	AddUserInDomainFromApi(firstName string, lastName string, email string) (*data.User, error)
	DeleteUserInDomainFromApi(email string) error
}

func GoogleClientInstance

func GoogleClientInstance(ctx context.Context) GoogleClient

Jump to

Keyboard shortcuts

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