contacts

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route[DataProvider RouteDataProvider] struct{}

func (Route[DataProvider]) GetDataContext

func (Route[DataProvider]) GetDataContext(ctx context.Context, r *mux.Request, w mux.ResponseWriter, dp DataProvider, child mux.DataContext) (mux.DataContext, error)

func (Route[DataProvider]) GetDefaultSubRoute

func (Route[DataProvider]) GetDefaultSubRoute(ctx context.Context, r *mux.Request, dp DataProvider) (string, error)

type RouteData

type RouteData struct {
	Emails []string
	Phones []string
}

type RouteDataProvider

type RouteDataProvider interface {
	GetRouteUsers_userId_ContactsData(ctx context.Context, r *mux.Request, w mux.ResponseWriter, data *RouteData) error
}

type Users_userId_ContactsDP

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

func NewDP

func (*Users_userId_ContactsDP) GetRouteUsers_userId_ContactsData

func (p *Users_userId_ContactsDP) GetRouteUsers_userId_ContactsData(ctx context.Context, r *mux.Request, w mux.ResponseWriter, data *RouteData) error

Jump to

Keyboard shortcuts

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