Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { JWTSecret() (*auth.JWTSecret, error) SuperAdmin() (string, error) SetJWTSecret([]byte) error SetSuperAdmin(string) error SessionKey() ([]byte, error) SetSessionKey([]byte) error }
Repository provides an interface for persisting config options.
type Service ¶
type Service interface { JWTSecret() (*auth.JWTSecret, error) SuperAdmin() (string, error) SetJWTSecret([]byte) error CreateSuperAdmin(string) (user *model.User, password string, err error) ResetSuperAdmin() error SessionKey() ([]byte, error) SetSessionKey([]byte) error }
Service provides an interface for manipulating configs.
Click to show internal directories.
Click to hide internal directories.