protobuf

package
v0.0.0-...-c8437d3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(v bool) *bool

func CheckModel

func CheckModel(pfModel Model, data []byte) (err error)

func Float32

func Float32(v float32) *float32

func Float64

func Float64(v float64) *float64

func Int

func Int(v int) *int32

func Int32

func Int32(v int32) *int32

func Int64

func Int64(v int64) *int64

func IsModelNameExist

func IsModelNameExist(modelName string) bool

func List

func List() modelList

func Marshal

func Marshal(model proto.Message) ([]byte, error)

func Register

func Register(method modelCreator)

func String

func String(v string) *string

func Timestamp

func Timestamp(v time.Time) (*timestamp.Timestamp, error)

func Uint32

func Uint32(v uint32) *uint32

func Uint64

func Uint64(v uint64) *uint64

func Unmarshal

func Unmarshal(buf []byte, model proto.Message) error

Types

type CacherImage

type CacherImage struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:code,code"
	Code                 string   `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty" gorm:"index:code,code"`
	Url                  string   `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CacherImage) Descriptor

func (*CacherImage) Descriptor() ([]byte, []int)

func (*CacherImage) GetCode

func (m *CacherImage) GetCode() string

func (*CacherImage) GetId

func (m *CacherImage) GetId() uint64

func (*CacherImage) GetUrl

func (m *CacherImage) GetUrl() string

func (*CacherImage) ProtoMessage

func (*CacherImage) ProtoMessage()

func (*CacherImage) Reset

func (m *CacherImage) Reset()

func (*CacherImage) String

func (m *CacherImage) String() string

func (*CacherImage) XXX_DiscardUnknown

func (m *CacherImage) XXX_DiscardUnknown()

func (*CacherImage) XXX_Marshal

func (m *CacherImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CacherImage) XXX_Merge

func (dst *CacherImage) XXX_Merge(src proto.Message)

func (*CacherImage) XXX_Size

func (m *CacherImage) XXX_Size() int

func (*CacherImage) XXX_Unmarshal

func (m *CacherImage) XXX_Unmarshal(b []byte) error

type CheckerFs

type CheckerFs struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:code,code"
	Code                 string   `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty" gorm:"index:code,code"`
	Url                  string   `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckerFs) Descriptor

func (*CheckerFs) Descriptor() ([]byte, []int)

func (*CheckerFs) GetCode

func (m *CheckerFs) GetCode() string

func (*CheckerFs) GetId

func (m *CheckerFs) GetId() uint64

func (*CheckerFs) GetUrl

func (m *CheckerFs) GetUrl() string

func (*CheckerFs) ProtoMessage

func (*CheckerFs) ProtoMessage()

func (*CheckerFs) Reset

func (m *CheckerFs) Reset()

func (*CheckerFs) String

func (m *CheckerFs) String() string

func (*CheckerFs) XXX_DiscardUnknown

func (m *CheckerFs) XXX_DiscardUnknown()

func (*CheckerFs) XXX_Marshal

func (m *CheckerFs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckerFs) XXX_Merge

func (dst *CheckerFs) XXX_Merge(src proto.Message)

func (*CheckerFs) XXX_Size

func (m *CheckerFs) XXX_Size() int

func (*CheckerFs) XXX_Unmarshal

func (m *CheckerFs) XXX_Unmarshal(b []byte) error

type CheckerManhuaChapter

type CheckerManhuaChapter struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Site                 string   `protobuf:"bytes,2,opt,name=Site,proto3" json:"Site,omitempty"`
	Number               string   `protobuf:"bytes,3,opt,name=Number,proto3" json:"Number,omitempty"`
	Chapter              string   `protobuf:"bytes,4,opt,name=Chapter,proto3" json:"Chapter,omitempty"`
	Url                  string   `protobuf:"bytes,5,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CheckerManhuaChapter) Descriptor

func (*CheckerManhuaChapter) Descriptor() ([]byte, []int)

func (*CheckerManhuaChapter) GetChapter

func (m *CheckerManhuaChapter) GetChapter() string

func (*CheckerManhuaChapter) GetId

func (m *CheckerManhuaChapter) GetId() uint64

func (*CheckerManhuaChapter) GetNumber

func (m *CheckerManhuaChapter) GetNumber() string

func (*CheckerManhuaChapter) GetSite

func (m *CheckerManhuaChapter) GetSite() string

func (*CheckerManhuaChapter) GetUrl

func (m *CheckerManhuaChapter) GetUrl() string

func (*CheckerManhuaChapter) ProtoMessage

func (*CheckerManhuaChapter) ProtoMessage()

func (*CheckerManhuaChapter) Reset

func (m *CheckerManhuaChapter) Reset()

func (*CheckerManhuaChapter) String

func (m *CheckerManhuaChapter) String() string

func (*CheckerManhuaChapter) XXX_DiscardUnknown

func (m *CheckerManhuaChapter) XXX_DiscardUnknown()

func (*CheckerManhuaChapter) XXX_Marshal

func (m *CheckerManhuaChapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckerManhuaChapter) XXX_Merge

func (dst *CheckerManhuaChapter) XXX_Merge(src proto.Message)

func (*CheckerManhuaChapter) XXX_Size

func (m *CheckerManhuaChapter) XXX_Size() int

func (*CheckerManhuaChapter) XXX_Unmarshal

func (m *CheckerManhuaChapter) XXX_Unmarshal(b []byte) error

type IndexManhuaChapter

type IndexManhuaChapter struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	Site                 string   `protobuf:"bytes,2,opt,name=Site" json:"Site,omitempty"`
	Number               int32    `protobuf:"varint,3,opt,name=Number" json:"Number,omitempty"`
	Chapter              string   `protobuf:"bytes,4,opt,name=Chapter" json:"Chapter,omitempty"`
	Title                string   `protobuf:"bytes,5,opt,name=Title" json:"Title,omitempty"`
	Update               int64    `protobuf:"varint,6,opt,name=Update" json:"Update,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IndexManhuaChapter) Descriptor

func (*IndexManhuaChapter) Descriptor() ([]byte, []int)

func (*IndexManhuaChapter) GetChapter

func (m *IndexManhuaChapter) GetChapter() string

func (*IndexManhuaChapter) GetId

func (m *IndexManhuaChapter) GetId() uint64

func (*IndexManhuaChapter) GetNumber

func (m *IndexManhuaChapter) GetNumber() int32

func (*IndexManhuaChapter) GetSite

func (m *IndexManhuaChapter) GetSite() string

func (*IndexManhuaChapter) GetTitle

func (m *IndexManhuaChapter) GetTitle() string

func (*IndexManhuaChapter) GetUpdate

func (m *IndexManhuaChapter) GetUpdate() int64

func (*IndexManhuaChapter) ProtoMessage

func (*IndexManhuaChapter) ProtoMessage()

func (*IndexManhuaChapter) Reset

func (m *IndexManhuaChapter) Reset()

func (*IndexManhuaChapter) String

func (m *IndexManhuaChapter) String() string

func (*IndexManhuaChapter) XXX_DiscardUnknown

func (m *IndexManhuaChapter) XXX_DiscardUnknown()

func (*IndexManhuaChapter) XXX_Marshal

func (m *IndexManhuaChapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexManhuaChapter) XXX_Merge

func (dst *IndexManhuaChapter) XXX_Merge(src proto.Message)

func (*IndexManhuaChapter) XXX_Size

func (m *IndexManhuaChapter) XXX_Size() int

func (*IndexManhuaChapter) XXX_Unmarshal

func (m *IndexManhuaChapter) XXX_Unmarshal(b []byte) error

type IndexSearchItem

type IndexSearchItem struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Title                string   `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
	Category             string   `protobuf:"bytes,3,opt,name=Category,proto3" json:"Category,omitempty"`
	Code                 string   `protobuf:"bytes,4,opt,name=Code,proto3" json:"Code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IndexSearchItem) Descriptor

func (*IndexSearchItem) Descriptor() ([]byte, []int)

func (*IndexSearchItem) GetCategory

func (m *IndexSearchItem) GetCategory() string

func (*IndexSearchItem) GetCode

func (m *IndexSearchItem) GetCode() string

func (*IndexSearchItem) GetId

func (m *IndexSearchItem) GetId() uint64

func (*IndexSearchItem) GetTitle

func (m *IndexSearchItem) GetTitle() string

func (*IndexSearchItem) ProtoMessage

func (*IndexSearchItem) ProtoMessage()

func (*IndexSearchItem) Reset

func (m *IndexSearchItem) Reset()

func (*IndexSearchItem) String

func (m *IndexSearchItem) String() string

func (*IndexSearchItem) XXX_DiscardUnknown

func (m *IndexSearchItem) XXX_DiscardUnknown()

func (*IndexSearchItem) XXX_Marshal

func (m *IndexSearchItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IndexSearchItem) XXX_Merge

func (dst *IndexSearchItem) XXX_Merge(src proto.Message)

func (*IndexSearchItem) XXX_Size

func (m *IndexSearchItem) XXX_Size() int

func (*IndexSearchItem) XXX_Unmarshal

func (m *IndexSearchItem) XXX_Unmarshal(b []byte) error

type Model

type Model interface {
	GetId() uint64
	Reset()
	String() string
	ProtoMessage()
	Descriptor() ([]byte, []int)
}

func Get

func Get(modelName string) (Model, error)

type ParserArticleListing

type ParserArticleListing struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"`
	Site                 string   `protobuf:"bytes,3,opt,name=Site,proto3" json:"Site,omitempty"`
	Url                  string   `protobuf:"bytes,4,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ParserArticleListing) Descriptor

func (*ParserArticleListing) Descriptor() ([]byte, []int)

func (*ParserArticleListing) GetCategory

func (m *ParserArticleListing) GetCategory() string

func (*ParserArticleListing) GetId

func (m *ParserArticleListing) GetId() uint64

func (*ParserArticleListing) GetSite

func (m *ParserArticleListing) GetSite() string

func (*ParserArticleListing) GetUrl

func (m *ParserArticleListing) GetUrl() string

func (*ParserArticleListing) ProtoMessage

func (*ParserArticleListing) ProtoMessage()

func (*ParserArticleListing) Reset

func (m *ParserArticleListing) Reset()

func (*ParserArticleListing) String

func (m *ParserArticleListing) String() string

func (*ParserArticleListing) XXX_DiscardUnknown

func (m *ParserArticleListing) XXX_DiscardUnknown()

func (*ParserArticleListing) XXX_Marshal

func (m *ParserArticleListing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParserArticleListing) XXX_Merge

func (dst *ParserArticleListing) XXX_Merge(src proto.Message)

func (*ParserArticleListing) XXX_Size

func (m *ParserArticleListing) XXX_Size() int

func (*ParserArticleListing) XXX_Unmarshal

func (m *ParserArticleListing) XXX_Unmarshal(b []byte) error

type ParserArticlePage

type ParserArticlePage struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"`
	Site                 string   `protobuf:"bytes,3,opt,name=Site,proto3" json:"Site,omitempty"`
	Url                  string   `protobuf:"bytes,4,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ParserArticlePage) Descriptor

func (*ParserArticlePage) Descriptor() ([]byte, []int)

func (*ParserArticlePage) GetCategory

func (m *ParserArticlePage) GetCategory() string

func (*ParserArticlePage) GetId

func (m *ParserArticlePage) GetId() uint64

func (*ParserArticlePage) GetSite

func (m *ParserArticlePage) GetSite() string

func (*ParserArticlePage) GetUrl

func (m *ParserArticlePage) GetUrl() string

func (*ParserArticlePage) ProtoMessage

func (*ParserArticlePage) ProtoMessage()

func (*ParserArticlePage) Reset

func (m *ParserArticlePage) Reset()

func (*ParserArticlePage) String

func (m *ParserArticlePage) String() string

func (*ParserArticlePage) XXX_DiscardUnknown

func (m *ParserArticlePage) XXX_DiscardUnknown()

func (*ParserArticlePage) XXX_Marshal

func (m *ParserArticlePage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParserArticlePage) XXX_Merge

func (dst *ParserArticlePage) XXX_Merge(src proto.Message)

func (*ParserArticlePage) XXX_Size

func (m *ParserArticlePage) XXX_Size() int

func (*ParserArticlePage) XXX_Unmarshal

func (m *ParserArticlePage) XXX_Unmarshal(b []byte) error

type ParserManhuaListing

type ParserManhuaListing struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=Category" json:"Category,omitempty"`
	Site                 string   `protobuf:"bytes,3,opt,name=Site" json:"Site,omitempty"`
	Url                  string   `protobuf:"bytes,4,opt,name=Url" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ParserManhuaListing) Descriptor

func (*ParserManhuaListing) Descriptor() ([]byte, []int)

func (*ParserManhuaListing) GetCategory

func (m *ParserManhuaListing) GetCategory() string

func (*ParserManhuaListing) GetId

func (m *ParserManhuaListing) GetId() uint64

func (*ParserManhuaListing) GetSite

func (m *ParserManhuaListing) GetSite() string

func (*ParserManhuaListing) GetUrl

func (m *ParserManhuaListing) GetUrl() string

func (*ParserManhuaListing) ProtoMessage

func (*ParserManhuaListing) ProtoMessage()

func (*ParserManhuaListing) Reset

func (m *ParserManhuaListing) Reset()

func (*ParserManhuaListing) String

func (m *ParserManhuaListing) String() string

func (*ParserManhuaListing) XXX_DiscardUnknown

func (m *ParserManhuaListing) XXX_DiscardUnknown()

func (*ParserManhuaListing) XXX_Marshal

func (m *ParserManhuaListing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParserManhuaListing) XXX_Merge

func (dst *ParserManhuaListing) XXX_Merge(src proto.Message)

func (*ParserManhuaListing) XXX_Size

func (m *ParserManhuaListing) XXX_Size() int

func (*ParserManhuaListing) XXX_Unmarshal

func (m *ParserManhuaListing) XXX_Unmarshal(b []byte) error

type ParserManhuaPage

type ParserManhuaPage struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=Category" json:"Category,omitempty"`
	Site                 string   `protobuf:"bytes,3,opt,name=Site" json:"Site,omitempty"`
	Url                  string   `protobuf:"bytes,4,opt,name=Url" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ParserManhuaPage) Descriptor

func (*ParserManhuaPage) Descriptor() ([]byte, []int)

func (*ParserManhuaPage) GetCategory

func (m *ParserManhuaPage) GetCategory() string

func (*ParserManhuaPage) GetId

func (m *ParserManhuaPage) GetId() uint64

func (*ParserManhuaPage) GetSite

func (m *ParserManhuaPage) GetSite() string

func (*ParserManhuaPage) GetUrl

func (m *ParserManhuaPage) GetUrl() string

func (*ParserManhuaPage) ProtoMessage

func (*ParserManhuaPage) ProtoMessage()

func (*ParserManhuaPage) Reset

func (m *ParserManhuaPage) Reset()

func (*ParserManhuaPage) String

func (m *ParserManhuaPage) String() string

func (*ParserManhuaPage) XXX_DiscardUnknown

func (m *ParserManhuaPage) XXX_DiscardUnknown()

func (*ParserManhuaPage) XXX_Marshal

func (m *ParserManhuaPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ParserManhuaPage) XXX_Merge

func (dst *ParserManhuaPage) XXX_Merge(src proto.Message)

func (*ParserManhuaPage) XXX_Size

func (m *ParserManhuaPage) XXX_Size() int

func (*ParserManhuaPage) XXX_Unmarshal

func (m *ParserManhuaPage) XXX_Unmarshal(b []byte) error

type SaverArticle

type SaverArticle struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:site,site_num"
	Site string `protobuf:"bytes,2,opt,name=Site,proto3" json:"Site,omitempty" gorm:"index:site,site_num"`
	// @inject_tag: gorm:"index:number,site_num"
	Number string `protobuf:"bytes,3,opt,name=Number,proto3" json:"Number,omitempty" gorm:"index:number,site_num"`
	// @inject_tag: gorm:"type:text"
	Face string `protobuf:"bytes,4,opt,name=Face,proto3" json:"Face,omitempty" gorm:"type:text"`
	// @inject_tag: gorm:"type:text"
	Title string `protobuf:"bytes,5,opt,name=Title,proto3" json:"Title,omitempty" gorm:"type:text"`
	// @inject_tag: gorm:"column:ZhTitle;type:text"
	ZhTitle string `protobuf:"bytes,6,opt,name=ZhTitle,proto3" json:"ZhTitle,omitempty" gorm:"column:ZhTitle;type:text"`
	Url     string `protobuf:"bytes,7,opt,name=Url,proto3" json:"Url,omitempty"`
	// @inject_tag: gorm:"type:text"
	Contents string `protobuf:"bytes,8,opt,name=Contents,proto3" json:"Contents,omitempty" gorm:"type:text"`
	// @inject_tag: gorm:"column:ZhContents;type:text"
	ZhContents string `protobuf:"bytes,9,opt,name=ZhContents,proto3" json:"ZhContents,omitempty" gorm:"column:ZhContents;type:text"`
	Tags       string `protobuf:"bytes,10,opt,name=Tags,proto3" json:"Tags,omitempty"`
	// @inject_tag: gorm:"column:ZhTags"
	ZhTags string `protobuf:"bytes,11,opt,name=ZhTags,proto3" json:"ZhTags,omitempty" gorm:"column:ZhTags"`
	// @inject_tag: gorm:"column:updatetime"
	UpdateTime           string   `protobuf:"bytes,12,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty" gorm:"column:updatetime"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	XXX_unrecognized     []byte   `json:"-" gorm:"-"`
	XXX_sizecache        int32    `json:"-" gorm:"-"`
}

func (*SaverArticle) Descriptor

func (*SaverArticle) Descriptor() ([]byte, []int)

func (*SaverArticle) GetContents

func (m *SaverArticle) GetContents() string

func (*SaverArticle) GetFace

func (m *SaverArticle) GetFace() string

func (*SaverArticle) GetId

func (m *SaverArticle) GetId() uint64

func (*SaverArticle) GetNumber

func (m *SaverArticle) GetNumber() string

func (*SaverArticle) GetSite

func (m *SaverArticle) GetSite() string

func (*SaverArticle) GetTags

func (m *SaverArticle) GetTags() string

func (*SaverArticle) GetTitle

func (m *SaverArticle) GetTitle() string

func (*SaverArticle) GetUpdateTime

func (m *SaverArticle) GetUpdateTime() string

func (*SaverArticle) GetUrl

func (m *SaverArticle) GetUrl() string

func (*SaverArticle) GetZhContents

func (m *SaverArticle) GetZhContents() string

func (*SaverArticle) GetZhTags

func (m *SaverArticle) GetZhTags() string

func (*SaverArticle) GetZhTitle

func (m *SaverArticle) GetZhTitle() string

func (*SaverArticle) ProtoMessage

func (*SaverArticle) ProtoMessage()

func (*SaverArticle) Reset

func (m *SaverArticle) Reset()

func (*SaverArticle) String

func (m *SaverArticle) String() string

func (*SaverArticle) XXX_DiscardUnknown

func (m *SaverArticle) XXX_DiscardUnknown()

func (*SaverArticle) XXX_Marshal

func (m *SaverArticle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverArticle) XXX_Merge

func (dst *SaverArticle) XXX_Merge(src proto.Message)

func (*SaverArticle) XXX_Size

func (m *SaverArticle) XXX_Size() int

func (*SaverArticle) XXX_Unmarshal

func (m *SaverArticle) XXX_Unmarshal(b []byte) error

type SaverArticleParticiple

type SaverArticleParticiple struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:word"
	Word string `protobuf:"bytes,2,opt,name=Word,proto3" json:"Word,omitempty" gorm:"index:word"`
	// @inject_tag: gorm:"index:aId"
	Aid uint64 `protobuf:"varint,3,opt,name=aid,proto3" json:"aid,omitempty" gorm:"index:aId"`
	// @inject_tag: gorm:"index:checked"
	Checked              bool     `protobuf:"varint,4,opt,name=checked,proto3" json:"checked,omitempty" gorm:"index:checked"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	XXX_unrecognized     []byte   `json:"-" gorm:"-"`
	XXX_sizecache        int32    `json:"-" gorm:"-"`
}

func (*SaverArticleParticiple) Descriptor

func (*SaverArticleParticiple) Descriptor() ([]byte, []int)

func (*SaverArticleParticiple) GetAid

func (m *SaverArticleParticiple) GetAid() uint64

func (*SaverArticleParticiple) GetChecked

func (m *SaverArticleParticiple) GetChecked() bool

func (*SaverArticleParticiple) GetId

func (m *SaverArticleParticiple) GetId() uint64

func (*SaverArticleParticiple) GetWord

func (m *SaverArticleParticiple) GetWord() string

func (*SaverArticleParticiple) ProtoMessage

func (*SaverArticleParticiple) ProtoMessage()

func (*SaverArticleParticiple) Reset

func (m *SaverArticleParticiple) Reset()

func (*SaverArticleParticiple) String

func (m *SaverArticleParticiple) String() string

func (*SaverArticleParticiple) XXX_DiscardUnknown

func (m *SaverArticleParticiple) XXX_DiscardUnknown()

func (*SaverArticleParticiple) XXX_Marshal

func (m *SaverArticleParticiple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverArticleParticiple) XXX_Merge

func (dst *SaverArticleParticiple) XXX_Merge(src proto.Message)

func (*SaverArticleParticiple) XXX_Size

func (m *SaverArticleParticiple) XXX_Size() int

func (*SaverArticleParticiple) XXX_Unmarshal

func (m *SaverArticleParticiple) XXX_Unmarshal(b []byte) error

type SaverFs

type SaverFs struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"not null;unique"
	Code                 string   `protobuf:"bytes,2,opt,name=Code,proto3" json:"Code,omitempty" gorm:"not null;unique"`
	Url                  string   `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	XXX_unrecognized     []byte   `json:"-" gorm:"-"`
	XXX_sizecache        int32    `json:"-" gorm:"-"`
}

func (*SaverFs) Descriptor

func (*SaverFs) Descriptor() ([]byte, []int)

func (*SaverFs) GetCode

func (m *SaverFs) GetCode() string

func (*SaverFs) GetId

func (m *SaverFs) GetId() uint64

func (*SaverFs) GetUrl

func (m *SaverFs) GetUrl() string

func (*SaverFs) ProtoMessage

func (*SaverFs) ProtoMessage()

func (*SaverFs) Reset

func (m *SaverFs) Reset()

func (*SaverFs) String

func (m *SaverFs) String() string

func (*SaverFs) XXX_DiscardUnknown

func (m *SaverFs) XXX_DiscardUnknown()

func (*SaverFs) XXX_Marshal

func (m *SaverFs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverFs) XXX_Merge

func (dst *SaverFs) XXX_Merge(src proto.Message)

func (*SaverFs) XXX_Size

func (m *SaverFs) XXX_Size() int

func (*SaverFs) XXX_Unmarshal

func (m *SaverFs) XXX_Unmarshal(b []byte) error

type SaverManhuaBook

type SaverManhuaBook struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:site,site_num"
	Site string `protobuf:"bytes,2,opt,name=Site" json:"Site,omitempty" gorm:"index:site,site_num"`
	Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"`
	Url  string `protobuf:"bytes,4,opt,name=Url" json:"Url,omitempty"`
	// @inject_tag: gorm:"index:number,site_num"
	Number      int32  `protobuf:"varint,5,opt,name=Number" json:"Number,omitempty" gorm:"index:number,site_num"`
	Categories  string `protobuf:"bytes,6,opt,name=Categories" json:"Categories,omitempty"`
	Description string `protobuf:"bytes,7,opt,name=Description" json:"Description,omitempty"`
	Face        string `protobuf:"bytes,8,opt,name=Face" json:"Face,omitempty"`
	// @inject_tag: gorm:"column:UpdateTime"
	UpdateTime int64 `protobuf:"varint,9,opt,name=UpdateTime" json:"UpdateTime,omitempty" gorm:"column:UpdateTime"`
	// @inject_tag: gorm:"column:CheckTime"
	CheckTime int64 `protobuf:"varint,10,opt,name=CheckTime" json:"CheckTime,omitempty" gorm:"column:CheckTime"`
	// @inject_tag: gorm:"-"
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	// @inject_tag: gorm:"-"
	XXX_unrecognized []byte `json:"-" gorm:"-"`
	// @inject_tag: gorm:"-"
	XXX_sizecache int32 `json:"-" gorm:"-"`
}

func (*SaverManhuaBook) Descriptor

func (*SaverManhuaBook) Descriptor() ([]byte, []int)

func (*SaverManhuaBook) GetCategories

func (m *SaverManhuaBook) GetCategories() string

func (*SaverManhuaBook) GetCheckTime

func (m *SaverManhuaBook) GetCheckTime() int64

func (*SaverManhuaBook) GetDescription

func (m *SaverManhuaBook) GetDescription() string

func (*SaverManhuaBook) GetFace

func (m *SaverManhuaBook) GetFace() string

func (*SaverManhuaBook) GetId

func (m *SaverManhuaBook) GetId() uint64

func (*SaverManhuaBook) GetName

func (m *SaverManhuaBook) GetName() string

func (*SaverManhuaBook) GetNumber

func (m *SaverManhuaBook) GetNumber() int32

func (*SaverManhuaBook) GetSite

func (m *SaverManhuaBook) GetSite() string

func (*SaverManhuaBook) GetUpdateTime

func (m *SaverManhuaBook) GetUpdateTime() int64

func (*SaverManhuaBook) GetUrl

func (m *SaverManhuaBook) GetUrl() string

func (*SaverManhuaBook) ProtoMessage

func (*SaverManhuaBook) ProtoMessage()

func (*SaverManhuaBook) Reset

func (m *SaverManhuaBook) Reset()

func (*SaverManhuaBook) String

func (m *SaverManhuaBook) String() string

func (*SaverManhuaBook) XXX_DiscardUnknown

func (m *SaverManhuaBook) XXX_DiscardUnknown()

func (*SaverManhuaBook) XXX_Marshal

func (m *SaverManhuaBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverManhuaBook) XXX_Merge

func (dst *SaverManhuaBook) XXX_Merge(src proto.Message)

func (*SaverManhuaBook) XXX_Size

func (m *SaverManhuaBook) XXX_Size() int

func (*SaverManhuaBook) XXX_Unmarshal

func (m *SaverManhuaBook) XXX_Unmarshal(b []byte) error

type SaverManhuaChapter

type SaverManhuaChapter struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:site,site_num_cha"
	Site string `protobuf:"bytes,2,opt,name=Site" json:"Site,omitempty" gorm:"index:site,site_num_cha"`
	// @inject_tag: gorm:"index:number,site_num_cha"
	Number int32 `protobuf:"varint,3,opt,name=Number" json:"Number,omitempty" gorm:"index:number,site_num_cha"`
	// @inject_tag: gorm:"index:chapter,site_num_cha"
	Chapter string `protobuf:"bytes,4,opt,name=Chapter" json:"Chapter,omitempty" gorm:"index:chapter,site_num_cha"`
	Title   string `protobuf:"bytes,5,opt,name=Title" json:"Title,omitempty"`
	Url     string `protobuf:"bytes,6,opt,name=Url" json:"Url,omitempty"`
	// @inject_tag: gorm:"column:FinishedTime"
	FinishedTime int64 `protobuf:"varint,7,opt,name=FinishedTime" json:"FinishedTime,omitempty" gorm:"column:FinishedTime"`
	Available    bool  `protobuf:"varint,8,opt,name=Available" json:"Available,omitempty"`
	// @inject_tag: gorm:"column:UpdateTime"
	UpdateTime int64 `protobuf:"varint,9,opt,name=UpdateTime" json:"UpdateTime,omitempty" gorm:"column:UpdateTime"`
	// @inject_tag: gorm:"-"
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	// @inject_tag: gorm:"-"
	XXX_unrecognized []byte `json:"-" gorm:"-"`
	// @inject_tag: gorm:"-"
	XXX_sizecache int32 `json:"-" gorm:"-"`
}

func (*SaverManhuaChapter) Descriptor

func (*SaverManhuaChapter) Descriptor() ([]byte, []int)

func (*SaverManhuaChapter) GetAvailable

func (m *SaverManhuaChapter) GetAvailable() bool

func (*SaverManhuaChapter) GetChapter

func (m *SaverManhuaChapter) GetChapter() string

func (*SaverManhuaChapter) GetFinishedTime

func (m *SaverManhuaChapter) GetFinishedTime() int64

func (*SaverManhuaChapter) GetId

func (m *SaverManhuaChapter) GetId() uint64

func (*SaverManhuaChapter) GetNumber

func (m *SaverManhuaChapter) GetNumber() int32

func (*SaverManhuaChapter) GetSite

func (m *SaverManhuaChapter) GetSite() string

func (*SaverManhuaChapter) GetTitle

func (m *SaverManhuaChapter) GetTitle() string

func (*SaverManhuaChapter) GetUpdateTime

func (m *SaverManhuaChapter) GetUpdateTime() int64

func (*SaverManhuaChapter) GetUrl

func (m *SaverManhuaChapter) GetUrl() string

func (*SaverManhuaChapter) ProtoMessage

func (*SaverManhuaChapter) ProtoMessage()

func (*SaverManhuaChapter) Reset

func (m *SaverManhuaChapter) Reset()

func (*SaverManhuaChapter) String

func (m *SaverManhuaChapter) String() string

func (*SaverManhuaChapter) XXX_DiscardUnknown

func (m *SaverManhuaChapter) XXX_DiscardUnknown()

func (*SaverManhuaChapter) XXX_Marshal

func (m *SaverManhuaChapter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverManhuaChapter) XXX_Merge

func (dst *SaverManhuaChapter) XXX_Merge(src proto.Message)

func (*SaverManhuaChapter) XXX_Size

func (m *SaverManhuaChapter) XXX_Size() int

func (*SaverManhuaChapter) XXX_Unmarshal

func (m *SaverManhuaChapter) XXX_Unmarshal(b []byte) error

type SaverManhuaImage

type SaverManhuaImage struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:site,site_num_cha_seq"
	Site string `protobuf:"bytes,2,opt,name=Site" json:"Site,omitempty" gorm:"index:site,site_num_cha_seq"`
	// @inject_tag: gorm:"index:number,site_num_cha_seq"
	Number int32 `protobuf:"varint,3,opt,name=Number" json:"Number,omitempty" gorm:"index:number,site_num_cha_seq"`
	// @inject_tag: gorm:"index:chapter,site_num_cha_seq"
	Chapter string `protobuf:"bytes,4,opt,name=Chapter" json:"Chapter,omitempty" gorm:"index:chapter,site_num_cha_seq"`
	// @inject_tag: gorm:"index:sequence,site_num_cha_seq"
	Sequence int32  `protobuf:"varint,5,opt,name=Sequence" json:"Sequence,omitempty" gorm:"index:sequence,site_num_cha_seq"`
	Url      string `protobuf:"bytes,6,opt,name=Url" json:"Url,omitempty"`
	// @inject_tag: gorm:"-"
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	// @inject_tag: gorm:"-"
	XXX_unrecognized []byte `json:"-" gorm:"-"`
	// @inject_tag: gorm:"-"
	XXX_sizecache int32 `json:"-" gorm:"-"`
}

func (*SaverManhuaImage) Descriptor

func (*SaverManhuaImage) Descriptor() ([]byte, []int)

func (*SaverManhuaImage) GetChapter

func (m *SaverManhuaImage) GetChapter() string

func (*SaverManhuaImage) GetId

func (m *SaverManhuaImage) GetId() uint64

func (*SaverManhuaImage) GetNumber

func (m *SaverManhuaImage) GetNumber() int32

func (*SaverManhuaImage) GetSequence

func (m *SaverManhuaImage) GetSequence() int32

func (*SaverManhuaImage) GetSite

func (m *SaverManhuaImage) GetSite() string

func (*SaverManhuaImage) GetUrl

func (m *SaverManhuaImage) GetUrl() string

func (*SaverManhuaImage) ProtoMessage

func (*SaverManhuaImage) ProtoMessage()

func (*SaverManhuaImage) Reset

func (m *SaverManhuaImage) Reset()

func (*SaverManhuaImage) String

func (m *SaverManhuaImage) String() string

func (*SaverManhuaImage) XXX_DiscardUnknown

func (m *SaverManhuaImage) XXX_DiscardUnknown()

func (*SaverManhuaImage) XXX_Marshal

func (m *SaverManhuaImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverManhuaImage) XXX_Merge

func (dst *SaverManhuaImage) XXX_Merge(src proto.Message)

func (*SaverManhuaImage) XXX_Size

func (m *SaverManhuaImage) XXX_Size() int

func (*SaverManhuaImage) XXX_Unmarshal

func (m *SaverManhuaImage) XXX_Unmarshal(b []byte) error

type SaverParticipleCount

type SaverParticipleCount struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:word"
	Word string `protobuf:"bytes,2,opt,name=Word,proto3" json:"Word,omitempty" gorm:"index:word"`
	// @inject_tag: gorm:"index:count"
	Count                uint64   `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" gorm:"index:count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	XXX_unrecognized     []byte   `json:"-" gorm:"-"`
	XXX_sizecache        int32    `json:"-" gorm:"-"`
}

func (*SaverParticipleCount) Descriptor

func (*SaverParticipleCount) Descriptor() ([]byte, []int)

func (*SaverParticipleCount) GetCount

func (m *SaverParticipleCount) GetCount() uint64

func (*SaverParticipleCount) GetId

func (m *SaverParticipleCount) GetId() uint64

func (*SaverParticipleCount) GetWord

func (m *SaverParticipleCount) GetWord() string

func (*SaverParticipleCount) ProtoMessage

func (*SaverParticipleCount) ProtoMessage()

func (*SaverParticipleCount) Reset

func (m *SaverParticipleCount) Reset()

func (*SaverParticipleCount) String

func (m *SaverParticipleCount) String() string

func (*SaverParticipleCount) XXX_DiscardUnknown

func (m *SaverParticipleCount) XXX_DiscardUnknown()

func (*SaverParticipleCount) XXX_Marshal

func (m *SaverParticipleCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverParticipleCount) XXX_Merge

func (dst *SaverParticipleCount) XXX_Merge(src proto.Message)

func (*SaverParticipleCount) XXX_Size

func (m *SaverParticipleCount) XXX_Size() int

func (*SaverParticipleCount) XXX_Unmarshal

func (m *SaverParticipleCount) XXX_Unmarshal(b []byte) error

type SaverParticipleGroup

type SaverParticipleGroup struct {
	Id uint64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	// @inject_tag: gorm:"index:name"
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" gorm:"index:name"`
	Word                 string   `protobuf:"bytes,3,opt,name=Word,proto3" json:"Word,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-"`
	XXX_unrecognized     []byte   `json:"-" gorm:"-"`
	XXX_sizecache        int32    `json:"-" gorm:"-"`
}

func (*SaverParticipleGroup) Descriptor

func (*SaverParticipleGroup) Descriptor() ([]byte, []int)

func (*SaverParticipleGroup) GetId

func (m *SaverParticipleGroup) GetId() uint64

func (*SaverParticipleGroup) GetName

func (m *SaverParticipleGroup) GetName() string

func (*SaverParticipleGroup) GetWord

func (m *SaverParticipleGroup) GetWord() string

func (*SaverParticipleGroup) ProtoMessage

func (*SaverParticipleGroup) ProtoMessage()

func (*SaverParticipleGroup) Reset

func (m *SaverParticipleGroup) Reset()

func (*SaverParticipleGroup) String

func (m *SaverParticipleGroup) String() string

func (*SaverParticipleGroup) XXX_DiscardUnknown

func (m *SaverParticipleGroup) XXX_DiscardUnknown()

func (*SaverParticipleGroup) XXX_Marshal

func (m *SaverParticipleGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaverParticipleGroup) XXX_Merge

func (dst *SaverParticipleGroup) XXX_Merge(src proto.Message)

func (*SaverParticipleGroup) XXX_Size

func (m *SaverParticipleGroup) XXX_Size() int

func (*SaverParticipleGroup) XXX_Unmarshal

func (m *SaverParticipleGroup) XXX_Unmarshal(b []byte) error

type TaskUrl

type TaskUrl struct {
	Id                   uint64   `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"`
	Site                 string   `protobuf:"bytes,3,opt,name=Site,proto3" json:"Site,omitempty"`
	Url                  string   `protobuf:"bytes,4,opt,name=Url,proto3" json:"Url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TaskUrl) Descriptor

func (*TaskUrl) Descriptor() ([]byte, []int)

func (*TaskUrl) GetCategory

func (m *TaskUrl) GetCategory() string

func (*TaskUrl) GetId

func (m *TaskUrl) GetId() uint64

func (*TaskUrl) GetSite

func (m *TaskUrl) GetSite() string

func (*TaskUrl) GetUrl

func (m *TaskUrl) GetUrl() string

func (*TaskUrl) ProtoMessage

func (*TaskUrl) ProtoMessage()

func (*TaskUrl) Reset

func (m *TaskUrl) Reset()

func (*TaskUrl) String

func (m *TaskUrl) String() string

func (*TaskUrl) XXX_DiscardUnknown

func (m *TaskUrl) XXX_DiscardUnknown()

func (*TaskUrl) XXX_Marshal

func (m *TaskUrl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TaskUrl) XXX_Merge

func (dst *TaskUrl) XXX_Merge(src proto.Message)

func (*TaskUrl) XXX_Size

func (m *TaskUrl) XXX_Size() int

func (*TaskUrl) XXX_Unmarshal

func (m *TaskUrl) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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