router

package
v3.2.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0, MIT Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const KeepAliveTime = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type Limiter

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

func (*Limiter) Limit

func (l *Limiter) Limit() bool

type Server

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

func NewServer

func NewServer(ctx context.Context) (*Server, error)

func (*Server) Shutdown

func (server *Server) Shutdown()

func (*Server) Start

func (server *Server) Start() error

func (*Server) StartHeartbeatJob

func (s *Server) StartHeartbeatJob(addr string)

this job for heartbeat master 1m once

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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