models

package
v0.0.0-...-76fbd6f Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	ID        string    `json:"id"`
	Name      string    `json:"name"`
	Extension string    `json:"extension"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

func (Domain) String

func (self Domain) String() string
type Link struct {
	FromID    string    `json:"from_id"`
	ToID      string    `json:"to_id"`
	CreatedAt time.Time `json:"created_at"`
}

func (Link) String

func (self Link) String() string

type Page

type Page struct {
	ID        string    `json:"id"`
	DomainID  string    `json:"domain_id"`
	Title     *string   `json:"title,omitempty"`
	Url       string    `json:"url"`
	Address   string    `json:"address"`
	Size      int64     `json:"size"`
	ElapseMs  int64     `json:"elapse_ms"`
	LinkCount int       `json:"link_count"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

func (Page) String

func (self Page) String() string

Jump to

Keyboard shortcuts

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