Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwin committed Feb 11, 2023
1 parent 320e42b commit 21ca57a
Show file tree
Hide file tree
Showing 12 changed files with 346 additions and 15 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,21 @@
## 编译代码
`go build`

# list
- [ ] 基础功能publish视频还没有实现
- [ ] vd校验字段
- [ ] token登录(是否用jwt?)
- [ ] 可选功能(基础部分的isfollow与isFavourite)
# TODO lists
- [x] 基础功能
- [x] 整合monio的publish视频功能 : 写法和性能还需要优化

minio: `docker run -it -p 9000:9000 -p 43543:43543 -d minio/minio server /data --console-address ":43543" --address ":9000"`
api: `127.0.0.1:9000`
console: `127.0.0.1:43543`

创建douyin桶,
设置douyin桶策略的权限为public

- [ ] feed目前是分页的方式,需要改为题目要求的时间点+limit的方式,videomicro需要同步改动
- [ ] 需要加vd校验字段,重新生成带校验的代码
- [ ] token登录(jwt?),注意视频上传需要通过token查user,实现token的时候记得实现tools token中的ValidateToken返回对应userid
- [ ] 可选功能,选哪个?,(基础部分的isfollow与isFavourite)
- [ ] ...


Expand Down
77 changes: 74 additions & 3 deletions biz/handler/core/publish_action_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions biz/handler/core/publish_list_server.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ require (
github.com/apache/thrift v0.13.0
github.com/cloudwego/hertz v0.5.2
github.com/cloudwego/kitex v0.4.4
github.com/disintegration/imaging v1.6.2
github.com/google/uuid v1.3.0
github.com/kitex-contrib/registry-etcd v0.1.0
github.com/minio/minio-go/v7 v7.0.47
github.com/u2takey/ffmpeg-go v0.4.1
)

require (
github.com/aws/aws-sdk-go v1.38.20 // indirect
github.com/bytedance/go-tagexpr/v2 v2.9.2 // indirect
github.com/bytedance/gopkg v0.0.0-20220531084716-665b4f21126f // indirect
github.com/bytedance/sonic v1.5.0 // indirect
Expand All @@ -26,36 +31,47 @@ require (
github.com/cloudwego/thriftgo v0.2.4 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/pprof v0.0.0-20220608213341-c488b8fa1db3 // indirect
github.com/henrylee2cn/ameda v1.4.10 // indirect
github.com/henrylee2cn/goutil v0.0.0-20210127050712-89660552f6f8 // indirect
github.com/jhump/protoreflect v1.8.2 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.15.9 // indirect
github.com/klauspost/cpuid/v2 v2.1.0 // indirect
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/sha256-simd v1.0.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/nyaruka/phonenumbers v1.0.55 // indirect
github.com/oleiade/lane v1.0.1 // indirect
github.com/rs/xid v1.4.0 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/tidwall/gjson v1.13.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/u2takey/go-utils v0.3.1 // indirect
go.etcd.io/etcd/api/v3 v3.5.5 // indirect
go.etcd.io/etcd/client/pkg/v3 v3.5.5 // indirect
go.etcd.io/etcd/client/v3 v3.5.5 // indirect
go.uber.org/atomic v1.8.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.17.0 // indirect
golang.org/x/arch v0.0.0-20220722155209-00200b7164a7 // indirect
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa // indirect
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c // indirect
google.golang.org/grpc v1.41.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/ini.v1 v1.66.6 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 21ca57a

Please sign in to comment.