server

package
v0.0.0-...-5808d2a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer() *Server

func (*Server) Register

func (s *Server) Register(ctx context.Context, info *backend.RgInfo) (*backend.RgResp, error)

func (*Server) Run

func (s *Server) Run() error

func (*Server) SyncData

func (s *Server) SyncData(ctx context.Context, req *backend.SyncDataReq) (*backend.SyncDataResp, error)

Jump to

Keyboard shortcuts

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