Documentation
¶
Index ¶
Constants ¶
View Source
const CName = "common.node.nodeclient"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeClient ¶
type NodeClient interface {
app.Component
AclGetRecords(ctx context.Context, spaceId, aclHead string) (recs []*consensusproto.RawRecordWithId, err error)
AclAddRecord(ctx context.Context, spaceId string, rec *consensusproto.RawRecord) (recWithId *consensusproto.RawRecordWithId, err error)
}
func New ¶
func New() NodeClient
Directories
¶
| Path | Synopsis |
|---|---|
|
Package mock_nodeclient is a generated GoMock package.
|
Package mock_nodeclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.