query

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: GPL-3.0, Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GrpcServerAddr = "localhost:50651"
	GatewayAddr    = "localhost:8480"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	merklegen.UnimplementedQueryServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(registryService *zkregistry.Service, logger log.Logger) *Server

func (*Server) GetEmptyLeafProof added in v0.2.0

func (*Server) Proof

Proof queries the proof of a leaf in the merkle tree.

func (*Server) RunGRPC

func (s *Server) RunGRPC(ctx context.Context, address string) error

RunGRPC starts the gRPC server

func (*Server) RunGateway

func (s *Server) RunGateway(ctx context.Context, address string) error

RunGateway starts the gRPC gateway server

Jump to

Keyboard shortcuts

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