Documentation
¶
Index ¶
Constants ¶
View Source
const BlockSize = aes.BlockSize
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAesStore ¶
type MockAesStore struct {
NewFunc func(name string) Key
GetFunc func(name string) Key
GetOrNewFunc func(name string) (Key, bool)
StoreFunc func(name string, key []byte)
ReviveFunc func(name string)
StopFunc func()
}
func (MockAesStore) Get ¶
func (a MockAesStore) Get(name string) Key
func (MockAesStore) New ¶
func (a MockAesStore) New(name string) Key
func (MockAesStore) Revive ¶
func (a MockAesStore) Revive(name string)
func (MockAesStore) Stop ¶
func (a MockAesStore) Stop()
func (MockAesStore) Store ¶
func (a MockAesStore) Store(name string, key []byte)
Click to show internal directories.
Click to hide internal directories.