Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidKeyType = func(kty string) error { return fmt.Errorf("invalid key type: %s", kty) }
Functions ¶
Types ¶
type Certification ¶
type File ¶
type File struct { File []byte // contains filtered or unexported fields }
func (File) ContentType ¶
func (File) FileExtension ¶
type HostingType ¶
type HostingType int
const ( IPFS HostingType = iota HOSTED HostingType = iota LOCAL HostingType = iota )
func ParseHostingType ¶
func ParseHostingType(value string) (HostingType, error)
func (HostingType) String ¶
func (h HostingType) String() string
type LocalKey ¶
type LocalKey struct {
// contains filtered or unexported fields
}
func NewLocalKey ¶
func NewLocalKeyID ¶
func (LocalKey) KeyTypeStr ¶
type LocalStorageStrategy ¶
type LocalStorageStrategy int64
const ( LocalStorageStrategyUnknown LocalStorageStrategy = iota LocalStorageStrategyHash LocalStorageStrategyFilename )
func LocalStorageStrategyFromString ¶
func LocalStorageStrategyFromString(strategy string) LocalStorageStrategy
func (LocalStorageStrategy) String ¶
func (s LocalStorageStrategy) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.