Skip to content

Sinica-SLAM/asr-demo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asr-demo-server

Structure

.
├── cmd 
│   └── server 
├── docs (swagger api docs) 
├── internal 
│   └── handler (http handlers)
└── pkg
    ├── chi (chi router)
    ├── ent (ent orm, but not used)
    └── youtube (youtube api client)

Build

go build ./cmd/server

or cross compile for linux(amd64)

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./cmd/server

Usage

client files

put client files in ./dist directory, you can change the directory in ./internal/handler/static.go

youtube service secret

put youtube service secret file as ./client_secret.json, you can change the file path in ./pkg/youtube/client.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages