collection

package
v0.0.0-...-85a7564 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[T Types](connection *connection.Connection, name string) *T

Types

type Generic

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

func (*Generic) Test

func (*Generic) Test(c *gin.Context)

type Item

type Item struct {
	Generic
}

func (*Item) Delete

func (i *Item) Delete(c *gin.Context)

func (*Item) GetAll

func (i *Item) GetAll(c *gin.Context)

func (*Item) GetSpecific

func (i *Item) GetSpecific(c *gin.Context)

func (*Item) Patch

func (i *Item) Patch(c *gin.Context)

func (*Item) Post

func (i *Item) Post(c *gin.Context)

type Types

type Types interface {
	Item
}

Jump to

Keyboard shortcuts

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