ip

package
v0.0.0-...-41ad4b5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *base.Context) error

func Delete

func Delete(c echo.Context) error

func List

func List(c *base.Context) error

func Retrieve

func Retrieve(c echo.Context) error

func Update

func Update(c echo.Context) error

Types

type Serializer

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

func NewSerializer

func NewSerializer() *Serializer

func (*Serializer) ExtraFilter

func (c *Serializer) ExtraFilter(query map[string]interface{}) map[string]interface{}

func (*Serializer) GetParams

func (c *Serializer) GetParams() base.SerializersParams

func (*Serializer) Order

func (c *Serializer) Order() []string

func (*Serializer) Preload

func (c *Serializer) Preload() []string

func (*Serializer) QueryBeforeHook

func (c *Serializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)

func (*Serializer) Response

func (c *Serializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent

Jump to

Keyboard shortcuts

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