interface io.Reader
定义
1 | // go/src/io/io.go |
lal地址: https://github.com/q191201771/lal
接口分为两大类:
/api/stat
开头/api/ctrl
开头1 | 1.1. /api/stat/group // 查询特定group的信息 |
简单来说,在go.mod中使用replace,可以将依赖库替换为本地目录,就像下面这样:
1 | replace github.com/q191201771/naza => /Volumes/Data/chef_git/naza |
其中github.com/q191201771/naza
是依赖的module的github repo url,/Volumes/Data/chef_git/naza
是本地目录。
举个栗子。
Go标准库中的位操作,package位置math/bits
,注意,这个package是Go 1.9
引入的,所以1.9
之前的老版本没法用。
今天打算把Go升级到1.14.2
,升级的方法就两步,
http-flv
和https-flv
拉流HLS(m3u8+ts)
拉流http-ts
拉流