package
Version:
v0.27.0
Opens a new window with list of versions in this module.
Published: May 30, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Book struct {
BookNumber string `json:"bookNumber"`
Book []*BookText `json:"book"`
HadithStartNumber int32 `json:"hadithStartNumber"`
HadithEndNumber int32 `json:"hadithEndNumber"`
NumberOfHadith int32 `json:"numberOfHadith"`
}
type BookRequest struct {
Data []*Book `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
type BookText struct {
Lang string `json:"lang"`
Name string `json:"name"`
}
type Chapter struct {
BookNumber string `json:"bookNumber"`
ChapterId string `json:"chapterId"`
Chapter []*ChapterText `json:"chapter"`
}
type ChapterText struct {
Lang string `json:"lang"`
ChapterNumber string `json:"chapterNumber"`
ChapterTitle string `json:"chapterTitle"`
}
type ChaptersRequest struct {
Data []*Chapter `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
type Collection struct {
Name string `json:"name"`
HasBooks bool `json:"hasBooks"`
HasChapters bool `json:"hasChapters"`
TotalHadith int32 `json:"totalHadith"`
TotalAvailableHadith int32 `json:"totalAvailableHadith"`
Collection []*CollectionText `json:"collection"`
}
type CollectionRequest struct {
Data []*Collection `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
type CollectionText struct {
Lang string `json:"lang"`
Title string `json:"title"`
ShortIntro string `json:"shortIntro"`
}
type Hadith struct {
Collection string `json:"collection"`
BookNumber string `json:"bookNumber"`
ChapterId string `json:"chapterId"`
HadithNumber string `json:"hadithNumber"`
Hadith []*HadithText `json:"hadith"`
}
type HadithText struct {
Lang string `json:"lang"`
ChapterNumber string `json:"chapterNumber"`
ChapterTitle string `json:"chapterTitle"`
Body string `json:"body"`
}
type HadithsRequest struct {
Data []*Hadith `json:"data"`
Total int32 `json:"total"`
Limit int32 `json:"limit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.