emby

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewEmbyService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type EmbyService

type EmbyService struct {
	pb.UnimplementedEmbyServer
}

func NewEmbyService

func NewEmbyService(c *conf.EmbyConfig) *EmbyService

func (*EmbyService) FsList

func (a *EmbyService) FsList(ctx context.Context, req *pb.FsListReq) (*pb.FsListResp, error)

func (*EmbyService) GetItem

func (a *EmbyService) GetItem(ctx context.Context, req *pb.GetItemReq) (*pb.Item, error)

func (*EmbyService) GetItems

func (a *EmbyService) GetItems(ctx context.Context, req *pb.GetItemsReq) (*pb.GetItemsResp, error)

func (*EmbyService) GetSystemInfo

func (a *EmbyService) GetSystemInfo(ctx context.Context, req *pb.SystemInfoReq) (*pb.SystemInfoResp, error)

func (*EmbyService) Login

func (a *EmbyService) Login(ctx context.Context, req *pb.LoginReq) (*pb.LoginResp, error)

func (*EmbyService) Logout added in v0.3.2

func (a *EmbyService) Logout(ctx context.Context, req *pb.LogoutReq) (*pb.Empty, error)

func (*EmbyService) Me

func (a *EmbyService) Me(ctx context.Context, req *pb.MeReq) (*pb.MeResp, error)

Jump to

Keyboard shortcuts

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