Versions in this module Expand all Collapse all v0 v0.0.14 Jul 26, 2024 Changes in this version + const GlobalDateUpdate + const GlobalHash + const GlobalName + const GlobalVersion + const GlobalVersionMajor + const GlobalVersionMinor + const GlobalVersionPatch + func ChunkSize(totalSize int) (int, int) + type BookObj struct + Author PersonalityObj + Chapters []ChapterObj + Domain DomainType + Size SizesObj + Work WorkObj + type ChapterObj struct + Chapter PersonalityObj + Data NormalisedTextType + Hash HashType + Size SizesObj + Timestamp TimesObj + type DataObj struct + Data []byte + IsCompress bool + IsCrypt bool + func ChunksToData(chunks []DataObj) (*DataObj, error) + func (data *DataObj) Chunks() ([]DataObj, error) + func (data *DataObj) Compress() (*DataObj, error) + func (data *DataObj) Decompress() (*DataObj, error) + func (data *DataObj) Decrypt(key string) (*DataObj, error) + func (data *DataObj) Encrypt(key string) (*DataObj, error) + type DomainType string + type FandomType string + type FocusTag byte + const FocusFemSlash + const FocusGet + const FocusJen + const FocusNil + const FocusOthers + const FocusSlash + type HashType string + type IntegrityChecksObj struct + Hash string + Sign string + type LanguageType string + type LoadWebDataType []byte + type NormalisedTextType []byte + type PersonType string + type PersonalityObj struct + Name string + UID UIDType + type RatingTag byte + const RatingG + const RatingNC17 + const RatingNil + const RatingPG + const RatingPG13 + const RatingR + const RatingUnlimited + type SizesObj struct + Bytes uint64 + Letters uint64 + type StatusTag byte + const StatusFreeze + const StatusFull + const StatusInProcess + const StatusNil + type TagType string + type TimesObj struct + Create time.Time + Update time.Time + type UIDType string + type WorkObj struct + Description NormalisedTextType + Fandoms []FandomType + Focus FocusTag + Hash HashType + Language LanguageType + Personages []PersonType + Rating RatingTag + Status StatusTag + Tags []TagType + Timestamp HashType + Work PersonalityObj