Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CIDFormatOption ¶
type CIDFormatOption func(opts *CIDFormatOptions)
CIDFormatOption is an option for specifying the CID format used in a WriteWithCIDFormat call.
func WithCIDVersion ¶
func WithCIDVersion(cidVersion int) CIDFormatOption
WithCIDVersion sets the CID version to be used in a WriteWithCIDFormat call. Currently, 0 and 1 are the only valid options.
type CIDFormatOptions ¶
type CIDFormatOptions struct {
CIDVersion int
}
CIDFormatOptions represent CID format options for use in a Client.WriteWithCIDFormat call.
Click to show internal directories.
Click to hide internal directories.