deeplinks

package module
v0.0.0-...-d7aef5a Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

README

Go module for generating iOS deep-links

Modules

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	ID          uuid.UUID `db:"id"`
	Name        string    `db:"name"`
	Description string    `db:"description"`
}

type AppStore

type AppStore interface {
	App(id uuid.UUID) (App, error)
	Apps() ([]App, error)
	CreateApp(d *App) error
	UpdateApp(d *App) error
	DeleteApp(id uuid.UUID) error
}
type DeepLink struct {
	ID            uuid.UUID `db:"id"`
	AppID         uuid.UUID `db:"app_id"`
	Description   string    `db:"description"`
	UniversalLink uuid.UUID `db:"universal_link"`
}

type DeepLinkStore

type DeepLinkStore interface {
	DeepLink(id uuid.UUID) (DeepLink, error)
	DeepLinks() ([]DeepLink, error)
	DeepLinksByApp(userID uuid.UUID) ([]DeepLink, error)
	CreateDeepLink(d *DeepLink) error
	UpdateDeepLink(d *DeepLink) error
	DeleteDeepLink(id uuid.UUID) error
}

type Store

type Store interface {
	AppStore
	DeepLinkStore
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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