Documentation ¶
Index ¶
- Constants
- Variables
- type MIME
- func (s *MIME) Bytes() []byte
- func (s *MIME) Del(key string)
- func (s *MIME) Equals(other *MIME) bool
- func (s *MIME) Get(key string) string
- func (s *MIME) GetBody() string
- func (s *MIME) Keys() []string
- func (s *MIME) MIME() *MIME
- func (s *MIME) Set(key, value string)
- func (s *MIME) Write(p []byte) (int, error)
- func (s *MIME) WriteString(in string) (int, error)
- type PermanentError
Constants ¶
View Source
const (
// Ident is the Gopass MIME secret header
Ident = "GOPASS-SECRET-1.0"
)
Variables ¶
View Source
var ( // WriteMIME can be disabled to disable writing the new secrets format. // Use this to ensure secrets written by gopass can be correctly consumed // by other Password Store implementations, too. WriteMIME = true )
Functions ¶
This section is empty.
Types ¶
type MIME ¶
type MIME struct { Header textproto.MIMEHeader // contains filtered or unexported fields }
MIME is a gopass MIME secret
type PermanentError ¶
type PermanentError struct {
Err error
}
PermanentError signal that parsing should not attempt other formats.
func (*PermanentError) Error ¶
func (p *PermanentError) Error() string
Click to show internal directories.
Click to hide internal directories.