Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

pzduniak/burrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

burrow

Burrow is a Graval-based embedded FTP server library. How to use:

package main

import (
	"github.com/pzduniak/burrow"
	"log"
)

func main() {
	err := burrow.NewServer(burrow.Config{
		HomePath: "/home/test",
		Authenticate: func(username string, password string) bool {
			if username == "test" && password == "1234" {
				return true
			}

			return false
		},
		Port: 21,
	}).Listen()

	if err != nil {
		log.Printf("Error while listening: %s", err)
	}
}

About

Embedded Golang FTP server library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages