inspect

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDagsHandler

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

func GetFileDealsHandler added in v0.3.0

func GetFileDealsHandler(
	db *gorm.DB,
	id uint64,
) ([]model.Deal, error)

func GetSourceFileDetailHandler added in v0.3.0

func GetSourceFileDetailHandler(
	ctx context.Context,
	db *gorm.DB,
	id string,
) (*model.File, error)

func GetSourceFilesHandler added in v0.3.0

func GetSourceFilesHandler(
	ctx context.Context,
	db *gorm.DB,
	id string,
) ([]model.File, error)

func GetSourcePackJobDetailHandler added in v0.3.0

func GetSourcePackJobDetailHandler(
	ctx context.Context,
	db *gorm.DB,
	id string,
) (*model.PackJob, error)

func GetSourcePackJobsHandler added in v0.3.0

func GetSourcePackJobsHandler(
	ctx context.Context,
	db *gorm.DB,
	id uint32,
	request GetSourcePackJobsRequest,
) ([]model.PackJob, error)

Types

type DirDetail

type DirDetail struct {
	Current model.Directory
	Dirs    []model.Directory
	Files   []model.File
}

func GetPathHandler added in v0.2.23

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

type GetPathRequest added in v0.2.23

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

type GetSourcePackJobsRequest added in v0.3.0

type GetSourcePackJobsRequest struct {
	State model.WorkState `json:"state"`
}

Jump to

Keyboard shortcuts

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