grpc

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromAnypb

func FromAnypb(p *anypb.Any) any

func ToAnypb

func ToAnypb(val any) (*anypb.Any, error)

Types

type DBProvider

type DBProvider func(id string) (HADB, bool)

type HADB

type HADB interface {
	PubSeq() uint64
	DB() *sql.DB
}

type Server

type Server struct {
	*grpc.Server
	ReferenceCount int
}

type Service

type Service struct {
	sqlv1.UnimplementedDatabaseServiceServer
	DBProvider DBProvider
}

func (*Service) Query

Jump to

Keyboard shortcuts

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