server

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventDiscovered = "discovered"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server struct for syncer

func NewServer

func NewServer(conf *config.Config) *Server

NewServer new server with Config

func (*Server) Pull

Pull returns sync data of servicecenter

func (*Server) Run

func (s *Server) Run(ctx context.Context)

Run syncer Server

func (*Server) Stop

func (s *Server) Stop()

Stop Syncer Server

Jump to

Keyboard shortcuts

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