Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotTarget on specified filepath ErrNotTarget = failure.StringCode("not target file") // ErrFileCannotLoad on specified filepath ErrFileCannotLoad = failure.StringCode("file cannot load") // ErrFileEmpty on specified filepath ErrFileEmpty = failure.StringCode("file is empty") // ErrFileContentMismatch on specified filepath ErrFileContentMismatch = failure.StringCode("file content mismatch") // ErrContentIsReservedButNotDraft on specified filepath ErrContentIsReservedButNotDraft = failure.StringCode("content is reserved but not draft") // ErrContentIsNotReserved on specified filepath ErrContentIsNotReserved = failure.StringCode("content is not reserved") // ErrContentIsNotTheTimeYet on specified filepath ErrContentIsNotTheTimeYet = failure.StringCode("content is not the time yet") )
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
// contains filtered or unexported fields
}
Publisher doing publish reserved content
func (*Publisher) CheckReservedAndPublish ¶
CheckReservedAndPublish reserved content
Click to show internal directories.
Click to hide internal directories.