gapi

package
v0.0.0-...-8d285ec Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package gapi contains the Generic API for Dela. Which offers handlers to get various data about the chain's state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GAPI

type GAPI struct {
	Cosi *cosipbft.Service
	Grpc *minogrpc.Minogrpc
}

GAPI defines the Generic API. It offers global APIs to get the chain's state.

func NewGAPI

func NewGAPI(cosi *cosipbft.Service, grpc *minogrpc.Minogrpc) GAPI

NewGAPI returns a new initialized GAPI.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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