Webserver: Add bicycle api
This commit is contained in:
parent
137b342629
commit
52dbdb0b65
1
go.mod
1
go.mod
@ -3,6 +3,7 @@ module webserver
|
|||||||
go 1.20
|
go 1.20
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
git.blackfinn.de/apiservice/bicycle v0.0.1
|
||||||
git.blackfinn.de/apiservice/sauna v0.0.1
|
git.blackfinn.de/apiservice/sauna v0.0.1
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
go.sum
2
go.sum
@ -1,3 +1,5 @@
|
|||||||
|
git.blackfinn.de/apiservice/bicycle v0.0.1 h1:22/UxHjaj1h7nOQduVq3CvkCCMRASLk0wYpDezvK3WY=
|
||||||
|
git.blackfinn.de/apiservice/bicycle v0.0.1/go.mod h1:ygL9Ax8JreS+taIsqNq0NNlmhGnrHE+v1NE8Solihls=
|
||||||
git.blackfinn.de/apiservice/sauna v0.0.1 h1:SMSvxEySu/vcIizLiEMAYqvdKsSH1jU9assfINabnB4=
|
git.blackfinn.de/apiservice/sauna v0.0.1 h1:SMSvxEySu/vcIizLiEMAYqvdKsSH1jU9assfINabnB4=
|
||||||
git.blackfinn.de/apiservice/sauna v0.0.1/go.mod h1:yM5lSlCApQrrZ7a+Y8ZxzBkLV2Frx6k1cw219XeSEG4=
|
git.blackfinn.de/apiservice/sauna v0.0.1/go.mod h1:yM5lSlCApQrrZ7a+Y8ZxzBkLV2Frx6k1cw219XeSEG4=
|
||||||
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
|
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
|
||||||
|
2
main.go
2
main.go
@ -5,6 +5,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
bicycle "git.blackfinn.de/apiservice/bicycle"
|
||||||
sauna "git.blackfinn.de/apiservice/sauna"
|
sauna "git.blackfinn.de/apiservice/sauna"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -24,6 +25,7 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
// Start apis
|
// Start apis
|
||||||
|
bicycle.Start()
|
||||||
sauna.Start()
|
sauna.Start()
|
||||||
|
|
||||||
// Serve files from static folder
|
// Serve files from static folder
|
||||||
|
Loading…
Reference in New Issue
Block a user