proto

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

proto package contains prote defination of ContentDirectory Service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrowseReq

type BrowseReq struct {
	XMLName    xml.Name
	NamespaceU string `xml:"xmlns:u,attr"`

	ObjectID       string `xml:"ObjectID"`
	BrowseFlag     string `xml:"BrowseFlag"`
	Filter         string `xml:"Filter"`
	StartingIndex  int    `xml:"StartingIndex"`
	RequestedCount int    `xml:"RequestedCount"`
	SortCriteria   string `xml:"SortCriteria"`
}

type BrowseResp

type BrowseResp struct {
	XMLName    xml.Name `xml:"u:BrowseResponse"`
	NamespaceU string   `xml:"xmlns:u,attr"`

	Result         string `xml:"Result"`
	NumberReturned int    `xml:"NumberReturned"`
	TotalMatches   int    `xml:"TotalMatches"`
	UpdateID       uint   `xml:"UpdateID"`
}

func (*BrowseResp) Init

func (r *BrowseResp) Init() *BrowseResp

func (*BrowseResp) SetResult

func (r *BrowseResp) SetResult(result any)

type SearchReq

type SearchReq struct {
	XMLName    xml.Name
	NamespaceU string `xml:"xmlns:u,attr"`

	ContainerID    string `xml:"ContainerID"`
	SearchCriteria string `xml:"SearchCriteria"`
	Filter         string `xml:"Filter"`
	StartingIndex  int    `xml:"StartingIndex"`
	RequestedCount int    `xml:"RequestedCount"`
	SortCriteria   string `xml:"SortCriteria"`
}

type SearchResp

type SearchResp struct {
	XMLName    xml.Name `xml:"u:BrowseResponse"`
	NamespaceU string   `xml:"xmlns:u,attr"`

	UpdateID       string `xml:"UpdateID"`
	TotalMatches   int    `xml:"TotalMatches"`
	NumberReturned int    `xml:"NumberReturned"`
	Result         string `xml:"Result"`
}

func (*SearchResp) Init

func (r *SearchResp) Init() *SearchResp

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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