Documentation ¶
Index ¶
- type Algorithm
- func (a Algorithm) DetectHeader(h []byte) bool
- func (a Algorithm) Extension() string
- func (a Algorithm) IsNone() bool
- func (a Algorithm) MarshalJSON() ([]byte, error)
- func (a Algorithm) MarshalText() ([]byte, error)
- func (a Algorithm) Reader(r io.Reader) (io.ReadCloser, error)
- func (a Algorithm) String() string
- func (a *Algorithm) UnmarshalJSON(b []byte) error
- func (a *Algorithm) UnmarshalText(b []byte) error
- func (a Algorithm) Writer(w io.WriteCloser) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Algorithm ¶
type Algorithm uint8
func (Algorithm) DetectHeader ¶
func (Algorithm) MarshalJSON ¶
func (Algorithm) MarshalText ¶
func (*Algorithm) UnmarshalJSON ¶
func (*Algorithm) UnmarshalText ¶
func (Algorithm) Writer ¶
func (a Algorithm) Writer(w io.WriteCloser) (io.WriteCloser, error)
Click to show internal directories.
Click to hide internal directories.