item

package
v0.2.40 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PushItemHandler

func PushItemHandler(
	db *gorm.DB,
	ctx context.Context,
	datasourceHandlerResolver datasource.HandlerResolver,
	sourceID uint32,
	itemInfo ItemInfo,
) (*model.Item, error)

Types

type ItemInfo

type ItemInfo struct {
	Path string `json:"path"` // Path to the new item, relative to the source
}

Jump to

Keyboard shortcuts

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