server

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *conf.Config, s service.Service) *rpc.Server

New .

Types

type Filter

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

Filter .

func (*Filter) Check

func (f *Filter) Check(ctx context.Context, susp *model.Suspicious, resp *model.SuspiciousResp) error

Check .

func (*Filter) Ping

func (f *Filter) Ping(ctx context.Context, arg *struct{}, res *struct{}) error

Ping .

Jump to

Keyboard shortcuts

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