Skip to content

Commit

Permalink
Create main_freefb_client.go
Browse files Browse the repository at this point in the history
Test out free fb client implementation
  • Loading branch information
Andre Bongon authored Aug 23, 2016
1 parent eff5f1d commit f2ff3f9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions examples/main_freefb_client.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package main

import (
"fmt"
"github.com/joho/godotenv"
"github.com/matiasinsaurralde/transports"
"os"
)

func main() {
godotenv.Load()

fmt.Println("Transports test")

freefbTransport := transports.FreeFBTransport{
Login: os.Getenv("FB_LOGIN"),
Password: os.Getenv("FB_PASSWORD"),
Friend: os.Getenv("FB_FRIEND"),
}

Proxy := transports.Proxy{
Transport: freefbTransport,
Port: 8080,
}

Proxy.Listen()
}

0 comments on commit f2ff3f9

Please sign in to comment.