Documentation ¶
Index ¶
- type InsecureGRPCAdapter
- func (c *InsecureGRPCAdapter) Host() string
- func (c *InsecureGRPCAdapter) LastBlock(ctx context.Context) (nodetypes.LastBlock, error)
- func (c *InsecureGRPCAdapter) SpamStatistics(ctx context.Context, party string) (nodetypes.SpamStatistics, error)
- func (c *InsecureGRPCAdapter) Statistics(ctx context.Context) (nodetypes.Statistics, error)
- func (c *InsecureGRPCAdapter) Stop() error
- func (c *InsecureGRPCAdapter) SubmitTransaction(ctx context.Context, req *apipb.SubmitTransactionRequest) (*apipb.SubmitTransactionResponse, error)
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) SpamStatistics ¶ added in v0.68.0
func (c *InsecureGRPCAdapter) SpamStatistics(ctx context.Context, party string) (nodetypes.SpamStatistics, error)
func (*InsecureGRPCAdapter) Statistics ¶
func (c *InsecureGRPCAdapter) Statistics(ctx context.Context) (nodetypes.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.