Documentation ¶
Index ¶
- Constants
- func ArrayUint32Has(ar []uint32, v uint32) bool
- func BytesCopy(src []byte) []byte
- func BytesToUint16(bs []byte) uint16
- func BytesToUint32(bs []byte) uint32
- func BytesToUint64(bs []byte) uint64
- func FsMakeDir(path string, uid, gid int, mode os.FileMode) error
- func FsMakeFileDir(path string, uid, gid int, mode os.FileMode) error
- func FsWrite(file string, bs []byte) error
- func ResSysHostEnvDistArch() (string, string, error)
- func ResSysHostKernel() string
- func TimePrefixRandHexString(tlen, rlen int) string
- func Uint16ToHexString(v uint16) string
- func Uint32ToBytes(v uint32) []byte
- func Uint32ToHexString(v uint32) string
- func Uint64ToBytes(v uint64) []byte
- type EnvDocker
- type EnvOs
Constants ¶
View Source
const ( DistGen = "gen" ArchAll = "noarch" )
Variables ¶
This section is empty.
Functions ¶
func ArrayUint32Has ¶
func BytesToUint16 ¶
func BytesToUint32 ¶
func BytesToUint64 ¶
func ResSysHostEnvDistArch ¶
func ResSysHostKernel ¶
func ResSysHostKernel() string
func TimePrefixRandHexString ¶
func Uint16ToHexString ¶
func Uint32ToBytes ¶
func Uint32ToHexString ¶
func Uint64ToBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.