registryfileloader

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (*core.Registry, error)

Load 加载路径下的pb格式文件到`core.Registry`对象 @params path string 待转化文件

func Loads

func Loads(s []byte) (*core.Registry, error)

Loads 转化字节流为`core.Registry`对象 @params s []byte 待转化字节流

func MD5

func MD5(path string) (string, error)

MD5 计算文件的md5的16进制字符串 @params path string 待计算文件

func MD5s

func MD5s(s []byte) string

MD5s 计算字节流的md5的16进制字符串 @params s []byte 待计算字节流

Types

This section is empty.

Jump to

Keyboard shortcuts

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