1
0
Fork 0
mirror of https://github.com/owncast/owncast.git synced 2024-12-19 15:56:47 +03:00
owncast/models/baseAPIResponse.go
Gabe Kangas 7b64fc7c30
Disconnect stream Admin API + HTTP Basic Auth ()
* Create http auth middleware

* Add support for ending the inbound stream. Closes 

* Add a simple success response to API requests
2020-10-01 18:16:58 -07:00

7 lines
171 B
Go

package models
// BaseAPIResponse is a simple response to API requests.
type BaseAPIResponse struct {
Success bool `json:"success"`
Message string `json:"message"`
}