Documentation ¶
Index ¶
- Constants
- Variables
- func CreateConfigDir() error
- func CreateDirectory(path string, defaultMode os.FileMode) error
- func GetContentFromStatik(name string) (string, error)
- func GetHomeDir() string
- func GetTmpDir() string
- func GetUser() string
- type BoltStore
- func (b *BoltStore) Close() error
- func (b *BoltStore) Delete(k, bucketName []byte) error
- func (b *BoltStore) DeleteBucket(bucketName []byte) error
- func (b *BoltStore) Get(k, bucketName []byte) ([]byte, error)
- func (b *BoltStore) GetRange(bucketName []byte) (map[string]string, []string, error)
- func (b *BoltStore) Set(k, v, bucketName []byte) error
- type Msg
Constants ¶
View Source
const ( LogName = "mailman.log" MailTemplateType = "responsive" )
Variables ¶
Functions ¶
func CreateConfigDir ¶
func CreateConfigDir() error
func CreateDirectory ¶ added in v0.4.2
func GetContentFromStatik ¶ added in v0.4.3
func GetHomeDir ¶
func GetHomeDir() string
Types ¶
type BoltStore ¶
type BoltStore struct {
// contains filtered or unexported fields
}
func NewBoltStore ¶
func (*BoltStore) DeleteBucket ¶
Click to show internal directories.
Click to hide internal directories.