utils

package
v0.8.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLogDir

func BuildLogDir(dir, u string)

BuildLogDir mkdir for log and chown

func Recover

func Recover(name string)

Recover default recover

Types

type Bytes

type Bytes uint64

Bytes bytes for yaml decode

func (*Bytes) Bytes

func (bt *Bytes) Bytes() uint64

Bytes bytes count

func (*Bytes) UnmarshalYAML

func (bt *Bytes) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML custom decode bytes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL