Documentation ¶
Index ¶
- type InsecureGRPCAdapter
- func (c *InsecureGRPCAdapter) Host() string
- func (c *InsecureGRPCAdapter) LastBlock(ctx context.Context) (LastBlock, error)
- func (c *InsecureGRPCAdapter) Statistics(ctx context.Context) (Statistics, error)
- func (c *InsecureGRPCAdapter) Stop() error
- func (c *InsecureGRPCAdapter) SubmitTransaction(ctx context.Context, req *apipb.SubmitTransactionRequest) (*apipb.SubmitTransactionResponse, error)
- type LastBlock
- type Statistics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsecureGRPCAdapter ¶
type InsecureGRPCAdapter struct {
// contains filtered or unexported fields
}
func NewInsecureGRPCAdapter ¶
func NewInsecureGRPCAdapter(host string) (*InsecureGRPCAdapter, error)
func (*InsecureGRPCAdapter) Host ¶
func (c *InsecureGRPCAdapter) Host() string
func (*InsecureGRPCAdapter) LastBlock ¶
func (c *InsecureGRPCAdapter) LastBlock(ctx context.Context) (LastBlock, error)
func (*InsecureGRPCAdapter) Statistics ¶
func (c *InsecureGRPCAdapter) Statistics(ctx context.Context) (Statistics, error)
func (*InsecureGRPCAdapter) Stop ¶
func (c *InsecureGRPCAdapter) Stop() error
func (*InsecureGRPCAdapter) SubmitTransaction ¶
func (c *InsecureGRPCAdapter) SubmitTransaction(ctx context.Context, req *apipb.SubmitTransactionRequest) (*apipb.SubmitTransactionResponse, error)
Click to show internal directories.
Click to hide internal directories.