Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
StoreOnce is an in-memory storage that does not overrwite information on store
func New ¶
New creates a new object that implements the Storage interface in memory. It is thread-safe.
func (*Storage) Store ¶
func (ts *Storage) Store(ctx context.Context, msg nodeenrollment.MessageWithId) error
Store implements the Storage interface.
If the message already exists, return a duplicate record error
Click to show internal directories.
Click to hide internal directories.