Documentation ¶
Index ¶
- func NewApiServer(ctx context.Context, h host.Host) apipb.ApiServiceServer
- type ApiServer
- func (a *ApiServer) ChainManager()
- func (a *ApiServer) Config(h string)
- func (a *ApiServer) GetChainInfo(context.Context, *apipb.EmptyRequest) (*apipb.ChainInfoResponse, error)
- func (a *ApiServer) GetNodeInfo(context.Context, *apipb.EmptyRequest) (*apipb.NodeInfoResponse, error)
- func (a *ApiServer) Version() []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApiServer ¶
Types ¶
type ApiServer ¶
type ApiServer struct {
// contains filtered or unexported fields
}
func (*ApiServer) ChainManager ¶
func (a *ApiServer) ChainManager()
func (*ApiServer) GetChainInfo ¶
func (a *ApiServer) GetChainInfo(context.Context, *apipb.EmptyRequest) (*apipb.ChainInfoResponse, error)
func (*ApiServer) GetNodeInfo ¶
func (a *ApiServer) GetNodeInfo(context.Context, *apipb.EmptyRequest) (*apipb.NodeInfoResponse, error)
Directories ¶
Path | Synopsis |
---|---|
proto
|
|
v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
api/proto/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.