domain

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

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

type BookRequest struct {
	Data  []*Book `json:"data"`
	Total int32   `json:"total"`
	Limit int32   `json:"limit"`
}

type BookText

type BookText struct {
	Lang string `json:"lang"`
	Name string `json:"name"`
}

type Chapter

type Chapter struct {
	BookNumber string         `json:"bookNumber"`
	ChapterId  string         `json:"chapterId"`
	Chapter    []*ChapterText `json:"chapter"`
}

type ChapterText

type ChapterText struct {
	Lang          string `json:"lang"`
	ChapterNumber string `json:"chapterNumber"`
	ChapterTitle  string `json:"chapterTitle"`
}

type ChaptersRequest

type ChaptersRequest struct {
	Data  []*Chapter `json:"data"`
	Total int32      `json:"total"`
	Limit int32      `json:"limit"`
}

type Collection

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

type CollectionRequest struct {
	Data  []*Collection `json:"data"`
	Total int32         `json:"total"`
	Limit int32         `json:"limit"`
}

type CollectionText

type CollectionText struct {
	Lang       string `json:"lang"`
	Title      string `json:"title"`
	ShortIntro string `json:"shortIntro"`
}

type Hadith

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

type HadithText struct {
	Lang          string `json:"lang"`
	ChapterNumber string `json:"chapterNumber"`
	ChapterTitle  string `json:"chapterTitle"`
	Body          string `json:"body"`
}

type HadithsRequest

type HadithsRequest struct {
	Data  []*Hadith `json:"data"`
	Total int32     `json:"total"`
	Limit int32     `json:"limit"`
}

Jump to

Keyboard shortcuts

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