Documentation ¶
Index ¶
- type Defaults
- type Session
- func (s *Session) Command(cmd *commander.Command) error
- func (s *Session) Connect(Username string) error
- func (s *Session) Handle(bufname string, l *markup.Lexer) error
- func (s *Session) Listen(c controller.Controller)
- func (s *Session) Parse()
- func (s *Session) Quit()
- func (s *Session) Run(c controller.Controller, cmd *commander.Command) error
- func (s *Session) Start(c controller.Controller) error
- Bugs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Defaults ¶
type Defaults struct { Address string `altid:"address,prompt:IP Address of IRC server you wish to connect to"` SSL string `altid:"ssl,prompt:SSL mode,pick:none|simple|certificate"` Port int `altid:"port,no_prompt"` Auth types.Auth `altid:"auth,prompt:Authentication method to use:,pick:none|factotum|password"` Filter string `altid:"filter,no_prompt"` Nick string `altid:"nick,prompt:Enter your IRC nickname (this is what will be shown on messages you send)"` User string `altid:"user,no_prompt"` Name string `altid:"name,no_prompt"` Buffs string `altid:"buffs,no_prompt"` Logdir types.Logdir `altid:"logdir,no_prompt"` TLSCert string `altid:"tlscert,no_prompt"` TLSKey string `altid:"tlskey,no_prompt"` }
type Session ¶
type Session struct { Client *irc.Client Defaults *Defaults Verbose bool // contains filtered or unexported fields }
func (*Session) Listen ¶
func (s *Session) Listen(c controller.Controller)
func (*Session) Run ¶
func (s *Session) Run(c controller.Controller, cmd *commander.Command) error
func (*Session) Start ¶
func (s *Session) Start(c controller.Controller) error
Notes ¶
Bugs ¶
Logs are being created for user events such as client quit https://github.com/altid/ircfs/issues/4
Click to show internal directories.
Click to hide internal directories.