Documentation ¶
Index ¶
- type Config
- type Email
- type File
- type FileMailer
- type FileVault
- type Gwi
- func (g Gwi) AnonymousLogin(state *smtp.ConnectionState) (smtp.Session, error)
- func (g *Gwi) CloseThread(threadPath string) error
- func (g Gwi) Commands() map[string]func(content, thread string) bool
- func (g *Gwi) GitCGIHandler(w http.ResponseWriter, r *http.Request)
- func (g *Gwi) Handle() http.Handler
- func (g *Gwi) ListHandler(w http.ResponseWriter, r *http.Request)
- func (g Gwi) Login(state *smtp.ConnectionState, username, password string) (smtp.Session, error)
- func (g *Gwi) Mail(file string) (Email, error)
- func (g *Gwi) Mails(folder string) ([]Email, error)
- func (g *Gwi) MainHandler(w http.ResponseWriter, r *http.Request)
- func (g *Gwi) NewMailServer() FileMailer
- func (g Gwi) NewSession(_ *smtp.Conn) (smtp.Session, error)
- func (g *Gwi) Private(h http.HandlerFunc) http.HandlerFunc
- func (g *Gwi) Threads(folder string) ([]Thread, error)
- type Info
- type Mailer
- type Session
- type Thread
- type ThreadStatus
- type User
- type Vault
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Email ¶ added in v0.9.0
type FileVault ¶
type Gwi ¶
type Gwi struct {
// contains filtered or unexported fields
}
func (Gwi) AnonymousLogin ¶ added in v0.10.0
func (*Gwi) CloseThread ¶ added in v0.10.0
Close moves a thread to the closed folder
func (Gwi) Commands ¶ added in v0.10.0
func (*Gwi) ListHandler ¶ added in v0.5.0
func (g *Gwi) ListHandler(w http.ResponseWriter, r *http.Request)
func (Gwi) Login ¶ added in v0.10.0
func (*Gwi) MainHandler ¶ added in v0.5.0
func (g *Gwi) MainHandler(w http.ResponseWriter, r *http.Request)
func (*Gwi) NewMailServer ¶ added in v0.10.0
func (g *Gwi) NewMailServer() FileMailer
func (Gwi) NewSession ¶ added in v0.10.0
func (*Gwi) Private ¶
func (g *Gwi) Private(h http.HandlerFunc) http.HandlerFunc
type Info ¶ added in v0.5.0
type Mailer ¶ added in v0.9.0
type Session ¶ added in v0.8.0
type Session struct {
// contains filtered or unexported fields
}
A Session is returned after EHLO.
func (Session) AuthPlain ¶ added in v0.8.0
func (Session) Mail ¶ added in v0.8.0
type Thread ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.