Code Monkey home page Code Monkey logo

Comments (2)

mstmdev avatar mstmdev commented on May 27, 2024

Currently support synchronizing directory in your local machine to the gofs server, you can use the gofs as a library on the client side like the following code:

package main

import (
	"os"

	"github.com/no-src/gofs/cmd"
)

func main() {
	cmd.RunWithArgs([]string{
		os.Args[0],
		`-source=./source`,
		`-dest=rs://127.0.0.1:8105?local_sync_disabled=false&path=./dest`,
		`-users=gofs|password`,
	})
}

And more expose functions like Run and RunWithConfig.

More standard protocols like the SFTP will be supported in the future, if you don't want to deploy the gofs server side.

from gofs.

rizrmd avatar rizrmd commented on May 27, 2024

Great, thanks!

from gofs.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.