server

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package server implements an rpc server for the bloomfilter, registering a bloomfilter and accepting a tcp listener.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates an rpc bloomfilter and launches a serving goroutine

func Serve

func Serve(ctx context.Context, port int, bf *rpc_bf.Bloomfilter) error

Serve creates an rpc server, registers a bloomfilter, accepts a tcp listener and closes when catching context done

Types

This section is empty.

Jump to

Keyboard shortcuts

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