Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeStore ¶
type CodeStore interface { Save(code string, payload string, options ...Option) Load(code string) (string, bool) // payload, found }
func NewRamStore ¶
func NewRamStore() (cs CodeStore)
type Manager ¶
type Manager interface {
GetDefaultStore() CodeStore
}
func GetManager ¶
func GetManager() Manager
func NewStoreManager ¶
func NewStoreManager() (s Manager)
type MapRamCodeStore ¶
type MapRamCodeStore struct {
// contains filtered or unexported fields
}
type SimpleStoreManager ¶
type SimpleStoreManager struct {
// contains filtered or unexported fields
}
func (*SimpleStoreManager) GetDefaultStore ¶
func (s *SimpleStoreManager) GetDefaultStore() CodeStore
Click to show internal directories.
Click to hide internal directories.