links

package
v0.0.0-...-1bee8d1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	gorm.Model
	URL         string
	Title       string
	Description string `gorm:"type:text"`
}
type Links struct {
	DB *gorm.DB
	// contains filtered or unexported fields
}

func New

func New() *Links

func (*Links) Configure

func (l *Links) Configure(app gongo.App) error

func (Links) Resources

func (l Links) Resources() []interface{}

func (*Links) ServeHTTP

func (l *Links) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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