Documentation
¶
Index ¶
- func CriarStruct(nome string, mapaDeTipos map[string]BotClass) (interface{}, error)
- func RegistrarBot(key string, clazz any, tempo_minuto int)
- type BotClass
- type CoreBot
- func (c *CoreBot) Executar() error
- func (bot *CoreBot) LogCritical(v ...interface{})
- func (bot *CoreBot) LogDebug(v ...interface{})
- func (bot *CoreBot) LogError(v ...interface{})
- func (bot *CoreBot) LogFatal(v ...interface{})
- func (bot *CoreBot) LogInfo(v ...interface{})
- func (bot *CoreBot) LogWarning(v ...interface{})
- type IControllerBot
- type RegisterBotClasses
- type RegistraBotController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CriarStruct ¶
func RegistrarBot ¶
Types ¶
type CoreBot ¶
func NewCoreBot ¶
func (*CoreBot) LogCritical ¶
func (bot *CoreBot) LogCritical(v ...interface{})
func (*CoreBot) LogWarning ¶
func (bot *CoreBot) LogWarning(v ...interface{})
type IControllerBot ¶
type IControllerBot interface {
Executar()
}
type RegisterBotClasses ¶
type RegistraBotController ¶
type RegistraBotController struct {
RegisteredClasses RegisterBotClasses
}
func GetRegistraBotInstance ¶
func GetRegistraBotInstance() *RegistraBotController
func (*RegistraBotController) FindBotClassByKeyAndNewAsObject ¶
func (r *RegistraBotController) FindBotClassByKeyAndNewAsObject(key string) (IControllerBot, error)
func (*RegistraBotController) PrintRegisterClass ¶
func (r *RegistraBotController) PrintRegisterClass()
func (*RegistraBotController) RegisterClass ¶
func (r *RegistraBotController) RegisterClass(key string, clazz any, tempo_minuto int)
Click to show internal directories.
Click to hide internal directories.