Documentation
¶
Index ¶
Constants ¶
View Source
const (
ChannelCollection = "slackChannels"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiChannel ¶
type ApiChannel struct { Name string `json:"name" bson:"name"` URL string `json:"url" bson:"url"` Description string `json:"description" bson:"description"` Enabled bool `json:"enabled,omitempty" bson:"enabled"` Status status.Settings `json:"status" bson:"status"` }
func (*ApiChannel) ConvertToCosSchema ¶
func (c *ApiChannel) ConvertToCosSchema() CosChannel
func (*ApiChannel) InitUpdateStatus ¶
func (c *ApiChannel) InitUpdateStatus()
type CosChannel ¶
type Options ¶
type Options struct {
Channels []ApiChannel `json:"channels" bson:"channels"`
}
func (*Options) InitOkStatus ¶
func (o *Options) InitOkStatus()
Click to show internal directories.
Click to hide internal directories.