inspect

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDagsHandler

func GetDagsHandler(
	db *gorm.DB,
	id string,
) ([]model.Car, error)

func GetSourceChunkDetailHandler

func GetSourceChunkDetailHandler(
	db *gorm.DB,
	id string,
) (*model.Chunk, error)

func GetSourceChunksHandler

func GetSourceChunksHandler(
	db *gorm.DB,
	id string,
) ([]model.Chunk, error)

func GetSourceItemDetailHandler

func GetSourceItemDetailHandler(
	db *gorm.DB,
	id string,
) (*model.Item, error)

func GetSourceItemsHandler

func GetSourceItemsHandler(
	db *gorm.DB,
	id string,
) ([]model.Item, error)

Types

type DirDetail

type DirDetail struct {
	Current model.Directory
	Dirs    []model.Directory
	Items   []model.Item
}

func GetPathHandler added in v0.2.23

func GetPathHandler(
	db *gorm.DB,
	id string,
	request GetPathRequest,
) (*DirDetail, error)

type GetPathRequest added in v0.2.23

type GetPathRequest struct {
	Path string `json:"path"`
}

Jump to

Keyboard shortcuts

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