server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IterationInterval      = 200 * time.Millisecond
	GracefulShutdownPeriod = 1500 * time.Millisecond
)

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(
	config *cfg.Config,
	ctx context.Context,
	logger log.Logger,
) (*Server, error)

NewServer creates a new interop server

func (*Server) Close

func (s *Server) Close()

Close gracefully closes connections

func (*Server) Start

func (s *Server) Start()

Start starts the oracle feeder server

Jump to

Keyboard shortcuts

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