Back to godoc.org

Package grpc

v0.1.1-docker.0...-2aa760c
Latest Go to latest

The latest major version is .

Published: 5 days ago | License: Apache-2.0 | Module: github.com/dfuse-io/dfuse-eosio

Index

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 (s *Server) GetABI(ctx context.Context, request *pbstatedb.GetABIRequest) (*pbstatedb.GetABIResponse, error)

func (*Server) GetKeyAccounts

func (s *Server) GetKeyAccounts(ctx context.Context, request *pbstatedb.GetKeyAccountsRequest) (*pbstatedb.GetKeyAccountsResponse, error)

func (*Server) GetTableRow

func (s *Server) GetTableRow(ctx context.Context, request *pbstatedb.GetTableRowRequest) (*pbstatedb.GetTableRowResponse, error)

func (*Server) Serve

func (s *Server) Serve()

func (*Server) StreamTableRows

func (s *Server) StreamTableRows(request *pbstatedb.StreamTableRowsRequest, stream pbstatedb.State_StreamTableRowsServer) error

func (*Server) StreamTableScopes

func (s *Server) StreamTableScopes(request *pbstatedb.StreamTableScopesRequest, stream pbstatedb.State_StreamTableScopesServer) error

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)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier