Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 只读 OpFlagReadOnly = flags.OpFlagReadOnly // 只写 OpFlagWriteOnly = flags.OpFlagWriteOnly // 如不存在则创建 OpFlagCreate = flags.OpFlagCreate )
Variables ¶
This section is empty.
Functions ¶
func NewJengaWithOpts ¶
func NewJengaWithOpts(opts ...Opt) *blkJenga
Types ¶
type Opt ¶
type Opt func(j *blkJenga, uri string)
func WithBlocks ¶
func WithBlocks(blk jengablk.JengaBlocks) Opt
func WithFactory ¶
Click to show internal directories.
Click to hide internal directories.