Documentation ¶ Index ¶ Variables type Mask func New(password string) (*Mask, error) func (m *Mask) Mask(text string) (string, error) func (m *Mask) UnMask(text string) (string, error) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNotDecrypt = errors.New("Not decrypt the text") ErrNotMasked = errors.New("Not masked the text") ErrNotUseText = errors.New("This is not a text of utf8") ErrEmptyText = errors.New("Text is empty") ) Functions ¶ This section is empty. Types ¶ type Mask ¶ type Mask struct { // contains filtered or unexported fields } func New ¶ func New(password string) (*Mask, error) func (*Mask) Mask ¶ func (m *Mask) Mask(text string) (string, error) func (*Mask) UnMask ¶ func (m *Mask) UnMask(text string) (string, error) Source Files ¶ View all Source files mask.go Click to show internal directories. Click to hide internal directories.