router

package
v0.0.0-...-d4bbc0e Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRecord

func AddRecord(ctx context.Context, did uint64, endpoint string, conndID uint64) error

func DelRecord

func DelRecord(ctx context.Context, did uint64) error

func Init

func Init(ctx context.Context)

Types

type Record

type Record struct {
	Endpoint string
	ConndID  uint64
}

func QueryRecord

func QueryRecord(ctx context.Context, did uint64) (*Record, error)

Jump to

Keyboard shortcuts

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