syncd

package
v0.0.0-...-8199b78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	SuperNodeIP, SuperNodePort string
	SyncDir                    string
}

Config contains all configurable properties

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents a syncd server

func NewServer

func NewServer(c Config) (*Server, error)

NewServer init a server instance

func (*Server) Start

func (s *Server) Start(ctx context.Context) chan error

func (*Server) Stop

func (s *Server) Stop(ctx context.Context) error

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL