matchfunction

package
v0.0.0-...-63c973b Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchFunction

type MatchFunction interface {
	Run(*pb.RunRequest, pb.MatchFunction_RunServer) error
}

type Server

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

func NewServer

func NewServer() (*Server, error)

func (*Server) DialQueryService

func (s *Server) DialQueryService(addr string) error

func (*Server) Finalizer

func (s *Server) Finalizer()

func (*Server) RegisterMatchFunction

func (s *Server) RegisterMatchFunction(factory func(client pb.QueryServiceClient, makeMatchesFunc functions.MakeMatchesFunc) pb.MatchFunctionServer, makeMatchesFunc functions.MakeMatchesFunc)

func (*Server) Serve

func (s *Server) Serve(ctx context.Context, port int32) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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