vendorEmby

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Binds added in v0.3.2

func Binds(ctx *gin.Context)

func List

func List(ctx *gin.Context)

func Login

func Login(ctx *gin.Context)

func Logout

func Logout(ctx *gin.Context)

func Me

func Me(ctx *gin.Context)

Types

type EmbyBindsResp added in v0.3.2

type EmbyBindsResp []*struct {
	ServerID string `json:"serverID"`
	Host     string `json:"host"`
}

type EmbyFSListResp

type EmbyFSListResp = model.VendorFSListResp[*EmbyFileItem]

type EmbyFileItem

type EmbyFileItem struct {
	*model.Item
	Type string `json:"type"`
}

type EmbyMeResp

type EmbyMeResp = model.VendorMeResp[*emby.SystemInfoResp]

type ListReq

type ListReq struct {
	Path     string `json:"path"`
	Keywords string `json:"keywords"`
}

func (*ListReq) Decode

func (r *ListReq) Decode(ctx *gin.Context) error

func (*ListReq) Validate

func (r *ListReq) Validate() (err error)

type LoginReq

type LoginReq struct {
	Host     string `json:"host"`
	Username string `json:"username"`
	Password string `json:"password"`
	ApiKey   string `json:"apiKey"`
}

func (*LoginReq) Decode

func (r *LoginReq) Decode(ctx *gin.Context) error

func (*LoginReq) Validate

func (r *LoginReq) Validate() error

Jump to

Keyboard shortcuts

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