Documentation ¶
Index ¶
- func BytesCrlfs(b []byte) []byte
- func DecodeRFC2047(s string) string
- func FileExists(path string) bool
- func FromImap4Utf7(str string) string
- func IMAPReadSize(n int, c net.Conn, reader *bufio.Reader) ([]byte, error)
- func IMAPReadline(c net.Conn, reader *bufio.Reader) ([]byte, bool, error)
- func MessageIDfromTime(t time.Time) string
- func ReGroupsToMap(r *regexp.Regexp, str string) map[string]string
- func ReGroupsToMapMultiple(r *regexp.Regexp, str string) []map[string]string
- func SMTPReadline(c net.Conn, reader *bufio.Reader) ([]byte, bool, error)
- func SendMsg(writer *bufio.Writer, msg string)
- func StringCrlf(s string) string
- func StringExcludeSlice(slice, exSlice []string) []string
- func StringSliceContains(slice []string, str string) bool
- func StringSliceExtend(slice []string, otherSlice []string) []string
- func StringSliceFilter(filterFunc func(string) bool, slice []string) []string
- func StringSliceFuncMap(filterFunc func(string) string, slice []string) []string
- func StringSliceToLower(s []string) []string
- func StringSliceToUpper(s []string) []string
- func StringSliceWoEmpty(slice []string) []string
- func StringSliceWoSpaces(slice []string) []string
- func StringStringMapKeys(m map[string]string) []string
- func ToImap4Utf7(str string) string
- type StringSet
- type Uint64Set
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesCrlfs ¶
func DecodeRFC2047 ¶ added in v1.1.23
func FileExists ¶
func FromImap4Utf7 ¶
func IMAPReadline ¶
IMAPReadline - читает строку байт до новой строки
func MessageIDfromTime ¶
func ReGroupsToMap ¶
ReGroupsToMap - возвращает сопоставление групп найденным подстрокам
func ReGroupsToMapMultiple ¶
func SMTPReadline ¶
SMTPReadline - читает строку байт до новой строки
func StringCrlf ¶
func StringExcludeSlice ¶
StringExcludeSlice - возвращает срез строк slice без элементов среза exSlice
func StringSliceContains ¶
func StringSliceExtend ¶
func StringSliceFilter ¶
func StringSliceFuncMap ¶
func StringSliceToLower ¶
func StringSliceToUpper ¶
func StringSliceWoEmpty ¶
func StringSliceWoSpaces ¶
func StringStringMapKeys ¶
func ToImap4Utf7 ¶
Types ¶
type StringSet ¶
type StringSet struct {
// contains filtered or unexported fields
}
--------------------------------------------------------------- StringSet - реализация set() для строк
func NewStringSet ¶
func NewStringSet() *StringSet
type Uint64Set ¶
type Uint64Set struct {
// contains filtered or unexported fields
}
------------------------------------------------------------
func NewUint64Set ¶
func NewUint64Set() *Uint64Set
Click to show internal directories.
Click to hide internal directories.