Documentation
¶
Index ¶
- func RunTelegramBot(ctx context.Context, store *Store, sessionMgr *session.Manager) error
- type Settings
- type Store
- func (s *Store) Close() error
- func (s *Store) GetBashCwd(chatID string) (string, bool, error)
- func (s *Store) GetSessionForChat(chatID string) (string, bool, error)
- func (s *Store) GetSettings() (Settings, error)
- func (s *Store) SaveSettings(settings Settings) error
- func (s *Store) SetBashCwd(chatID, cwd string) error
- func (s *Store) SetSessionForChat(chatID, sessionID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetSessionForChat ¶
func (*Store) GetSettings ¶
func (*Store) SaveSettings ¶
func (*Store) SetBashCwd ¶
func (*Store) SetSessionForChat ¶
Click to show internal directories.
Click to hide internal directories.