grpc

package
v0.9.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HexBEKeyConverter

type HexBEKeyConverter struct{}

func (*HexBEKeyConverter) FromString

func (c *HexBEKeyConverter) FromString(key string) (uint64, error)

func (*HexBEKeyConverter) ToString

func (c *HexBEKeyConverter) ToString(key uint64) (string, error)

type HexKeyConverter

type HexKeyConverter struct{}

func (*HexKeyConverter) FromString

func (c *HexKeyConverter) FromString(key string) (uint64, error)

func (*HexKeyConverter) ToString

func (c *HexKeyConverter) ToString(key uint64) (string, error)

type KeyConverter

type KeyConverter interface {
	FromString(key string) (uint64, error)
	ToString(key uint64) (string, error)
}

type NameKeyConverter

type NameKeyConverter struct{}

func (*NameKeyConverter) FromString

func (c *NameKeyConverter) FromString(key string) (uint64, error)

func (*NameKeyConverter) ToString

func (c *NameKeyConverter) ToString(key uint64) (string, error)

type Server

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

func New

func New(grpcAddr string, db *fluxdb.FluxDB) *Server

func (*Server) GetABI

func (*Server) GetKeyAccounts

func (*Server) GetTableRow

func (*Server) Serve

func (s *Server) Serve()

func (*Server) StreamTableRows

func (*Server) StreamTableScopes

type SymbolCodeKeyConverter

type SymbolCodeKeyConverter struct{}

func (*SymbolCodeKeyConverter) FromString

func (c *SymbolCodeKeyConverter) FromString(key string) (uint64, error)

func (*SymbolCodeKeyConverter) ToString

func (c *SymbolCodeKeyConverter) ToString(key uint64) (string, error)

type SymbolKeyConverter

type SymbolKeyConverter struct{}

func (*SymbolKeyConverter) FromString

func (c *SymbolKeyConverter) FromString(key string) (uint64, error)

func (*SymbolKeyConverter) ToString

func (c *SymbolKeyConverter) ToString(key uint64) (string, error)

type Uint64KeyConverter

type Uint64KeyConverter struct{}

func (*Uint64KeyConverter) FromString

func (c *Uint64KeyConverter) FromString(key string) (uint64, error)

func (*Uint64KeyConverter) ToString

func (c *Uint64KeyConverter) ToString(key uint64) (string, error)

Jump to

Keyboard shortcuts

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