Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvStore ¶
type EnvStore struct {
// contains filtered or unexported fields
}
EnvStore struct to store the env variables
func (*EnvStore) UpdateStore ¶
UpdateEnvStore to update the whole env store object
type SessionEntry ¶
SessionEntry is the struct for entry stored in store
type SessionStore ¶
type SessionStore struct {
// contains filtered or unexported fields
}
SessionStore struct to store the env variables
func NewSessionStore ¶
func NewSessionStore() *SessionStore
NewSessionStore create a new session store
func (*SessionStore) Get ¶
func (s *SessionStore) Get(key, subKey string) string
Get returns the value of the key in state store
func (*SessionStore) Remove ¶
func (s *SessionStore) Remove(key, subKey string)
Remove value for given key and subkey
func (*SessionStore) RemoveAll ¶
func (s *SessionStore) RemoveAll(key string)
RemoveAll all values for given key
func (*SessionStore) RemoveByNamespace ¶
func (s *SessionStore) RemoveByNamespace(namespace string) error
RemoveByNamespace to delete session for a given namespace example google,github
type StateStore ¶
type StateStore struct {
// contains filtered or unexported fields
}
StateStore struct to store the env variables
func (*StateStore) Get ¶
func (s *StateStore) Get(key string) string
Get returns the value of the key in state store
func (*StateStore) Remove ¶
func (s *StateStore) Remove(key string)
Remove removes the key from state store
func (*StateStore) Set ¶
func (s *StateStore) Set(key string, value string)
Set sets the value of the key in state store
Click to show internal directories.
Click to hide internal directories.