Documentation
¶
Index ¶
- func CreateTransmitterFromForm(transmitterType string, ctx *gin.Context, ...) []byte
- func NewTransmitterForm(transmitterType string) []byte
- func SetGlobalLogger(logger *log.Logger)
- type LogTransmittor
- func (trans LogTransmittor) Active() bool
- func (trans LogTransmittor) GetStorageValue(id int) structs.TransmitterStorage
- func (trans *LogTransmittor) GetTransmitCount() int
- func (trans LogTransmittor) HTMLCard(id int) string
- func (trans *LogTransmittor) SetStatus(active bool)
- func (trans *LogTransmittor) Transmit(msg structs.GotifyMessageStruct, server gotify_api.GotifyApi)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTransmitterForm ¶
func SetGlobalLogger ¶
Types ¶
type LogTransmittor ¶
type LogTransmittor struct {
// contains filtered or unexported fields
}
func Build ¶
func Build(status bool, count int) LogTransmittor
func (LogTransmittor) Active ¶
func (trans LogTransmittor) Active() bool
func (LogTransmittor) GetStorageValue ¶
func (trans LogTransmittor) GetStorageValue(id int) structs.TransmitterStorage
func (*LogTransmittor) GetTransmitCount ¶
func (trans *LogTransmittor) GetTransmitCount() int
func (LogTransmittor) HTMLCard ¶
func (trans LogTransmittor) HTMLCard(id int) string
func (*LogTransmittor) SetStatus ¶
func (trans *LogTransmittor) SetStatus(active bool)
func (*LogTransmittor) Transmit ¶
func (trans *LogTransmittor) Transmit(msg structs.GotifyMessageStruct, server gotify_api.GotifyApi)
Click to show internal directories.
Click to hide internal directories.