Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter interface {
ListStorage(root *consensusproto.RawRecordWithId) (ListStorage, error)
}
type ListStorage ¶
type ListStorage interface { Id() string Root() (*consensusproto.RawRecordWithId, error) Head() (string, error) SetHead(headId string) error GetRawRecord(ctx context.Context, id string) (*consensusproto.RawRecordWithId, error) AddRawRecord(ctx context.Context, rec *consensusproto.RawRecordWithId) error }
func NewInMemoryAclListStorage ¶
func NewInMemoryAclListStorage( id string, records []*consensusproto.RawRecordWithId) (ListStorage, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_liststorage is a generated GoMock package.
|
Package mock_liststorage is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.