mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 08:14:04 +00:00
Fix #1
This commit is contained in:
parent
945ed921ea
commit
82658779e5
9 changed files with 24 additions and 24 deletions
|
@ -3,7 +3,7 @@ Go-MailHog
|
|||
|
||||
Inspired by [MailCatcher](http://mailcatcher.me/), easier to install.
|
||||
|
||||
Go-MailHog is a rewritten version of [MailHog](https://github.com/ian-kent/MailHog), which was born out of [M3MTA](https://github.com/ian-kent/M3MTA).
|
||||
Go-MailHog is a rewritten version of [MailHog](https://github.com/ian-kent/Go-MailHog), which was born out of [M3MTA](https://github.com/ian-kent/M3MTA).
|
||||
|
||||
Go was chosen for portability - MailHog runs without installation on multiple platforms.
|
||||
|
||||
|
@ -53,7 +53,7 @@ You can configure Go-MailHog using command line options:
|
|||
|
||||
### Contributing
|
||||
|
||||
Clone this repository to ```$GOPATH/src/github.com/ian-kent/MailHog``` and type ```go install```.
|
||||
Clone this repository to ```$GOPATH/src/github.com/ian-kent/Go-MailHog``` and type ```go install```.
|
||||
|
||||
You'll need go-bindata to embed web assets:
|
||||
```
|
||||
|
|
|
@ -10,10 +10,10 @@ import (
|
|||
"strconv"
|
||||
"bufio"
|
||||
"strings"
|
||||
"github.com/ian-kent/MailHog/mailhog/data"
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/MailHog/mailhog/http/router"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/data"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/http/router"
|
||||
)
|
||||
|
||||
type APIv1 struct {
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
"log"
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/http/api"
|
||||
"github.com/ian-kent/MailHog/mailhog/http/router"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/http/api"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/http/router"
|
||||
)
|
||||
|
||||
var exitChannel chan int
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"strings"
|
||||
"regexp"
|
||||
"errors"
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/MailHog/mailhog/data"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/data"
|
||||
)
|
||||
|
||||
type Session struct {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package storage
|
||||
|
||||
import (
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/data"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/data"
|
||||
)
|
||||
|
||||
type Memory struct {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"log"
|
||||
"labix.org/v2/mgo"
|
||||
"labix.org/v2/mgo/bson"
|
||||
"github.com/ian-kent/MailHog/mailhog/data"
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/data"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
)
|
||||
|
||||
type MongoDB struct {
|
||||
|
|
8
main.go
8
main.go
|
@ -2,10 +2,10 @@ package main
|
|||
|
||||
import (
|
||||
"flag"
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/http"
|
||||
"github.com/ian-kent/MailHog/mailhog/smtp"
|
||||
"github.com/ian-kent/MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/http"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/smtp"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/storage"
|
||||
"log"
|
||||
"net"
|
||||
"os"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/storage"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"net"
|
||||
"regexp"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/ian-kent/MailHog/mailhog/config"
|
||||
"github.com/ian-kent/MailHog/mailhog/storage"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/config"
|
||||
"github.com/ian-kent/Go-MailHog/mailhog/storage"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"net"
|
||||
"regexp"
|
||||
|
|
Loading…
Reference in a new issue