Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { Id bson.ObjectId `bson:"_id"` Url string `bson:"url"` Category string `bson:"category"` Created time.Time `bson:"created"` Updated time.Time `bson:"updated"` Revision string `bson:"revision"` Data string `bson:"data"` }
Category provides the category instance for categorization job.
func (*Category) FromProtoBuffer ¶
FromProtoBuffer gets category from protocol buffer and converts to the category structure.
func (*Category) ToProtoBuffer ¶
ToProtoBuffer converts the category structure into a protocol buffer category structure.
Click to show internal directories.
Click to hide internal directories.