Documentation ¶
Overview ¶
http handler
Index ¶
- Variables
- func ColsHandler(fn http.HandlerFunc) http.HandlerFunc
- func DeleteDevice(w http.ResponseWriter, r *http.Request)
- func DeleteRoom(w http.ResponseWriter, r *http.Request)
- func DeleteRoomUsers(w http.ResponseWriter, r *http.Request)
- func DeleteUser(w http.ResponseWriter, r *http.Request)
- func GetAsset(w http.ResponseWriter, r *http.Request)
- func GetDevice(w http.ResponseWriter, r *http.Request)
- func GetDevices(w http.ResponseWriter, r *http.Request)
- func GetMessage(w http.ResponseWriter, r *http.Request)
- func GetRoom(w http.ResponseWriter, r *http.Request)
- func GetRoomMessages(w http.ResponseWriter, r *http.Request)
- func GetRooms(w http.ResponseWriter, r *http.Request)
- func GetUser(w http.ResponseWriter, r *http.Request)
- func GetUsers(w http.ResponseWriter, r *http.Request)
- func PostAsset(w http.ResponseWriter, r *http.Request)
- func PostAssetAwsSns(w http.ResponseWriter, r *http.Request)
- func PostDevice(w http.ResponseWriter, r *http.Request)
- func PostMessages(w http.ResponseWriter, r *http.Request)
- func PostRoom(w http.ResponseWriter, r *http.Request)
- func PostRoomUsers(w http.ResponseWriter, r *http.Request)
- func PostUser(w http.ResponseWriter, r *http.Request)
- func PutDevice(w http.ResponseWriter, r *http.Request)
- func PutRoom(w http.ResponseWriter, r *http.Request)
- func PutRoomUser(w http.ResponseWriter, r *http.Request)
- func PutRoomUsers(w http.ResponseWriter, r *http.Request)
- func PutUser(w http.ResponseWriter, r *http.Request)
- func SetAssetAwsSnsMux()
- func SetAssetMux()
- func SetDeviceMux()
- func SetMessageMux()
- func SetRoomMux()
- func SetRoomUserMux()
- func SetUserMux()
- func StartServer(ctx context.Context)
- type AssetS3SNSRecords
- type AwsSNSSubscribeInput
- type Object
- type Record
- type S3
Constants ¶
This section is empty.
Variables ¶
View Source
var Context context.Context
View Source
var Mux *bone.Mux
Functions ¶
func ColsHandler ¶
func ColsHandler(fn http.HandlerFunc) http.HandlerFunc
func DeleteDevice ¶ added in v0.2.0
func DeleteDevice(w http.ResponseWriter, r *http.Request)
func DeleteRoom ¶
func DeleteRoom(w http.ResponseWriter, r *http.Request)
func DeleteRoomUsers ¶
func DeleteRoomUsers(w http.ResponseWriter, r *http.Request)
func DeleteUser ¶
func DeleteUser(w http.ResponseWriter, r *http.Request)
func GetDevices ¶ added in v0.2.0
func GetDevices(w http.ResponseWriter, r *http.Request)
func GetMessage ¶
func GetMessage(w http.ResponseWriter, r *http.Request)
func GetRoomMessages ¶
func GetRoomMessages(w http.ResponseWriter, r *http.Request)
func PostAssetAwsSns ¶
func PostAssetAwsSns(w http.ResponseWriter, r *http.Request)
func PostDevice ¶ added in v0.2.0
func PostDevice(w http.ResponseWriter, r *http.Request)
func PostMessages ¶ added in v0.2.0
func PostMessages(w http.ResponseWriter, r *http.Request)
func PostRoomUsers ¶
func PostRoomUsers(w http.ResponseWriter, r *http.Request)
func PutRoomUser ¶
func PutRoomUser(w http.ResponseWriter, r *http.Request)
func PutRoomUsers ¶
func PutRoomUsers(w http.ResponseWriter, r *http.Request)
func SetAssetAwsSnsMux ¶
func SetAssetAwsSnsMux()
func SetAssetMux ¶
func SetAssetMux()
func SetDeviceMux ¶ added in v0.2.0
func SetDeviceMux()
func SetMessageMux ¶
func SetMessageMux()
func SetRoomMux ¶
func SetRoomMux()
func SetRoomUserMux ¶
func SetRoomUserMux()
func SetUserMux ¶
func SetUserMux()
func StartServer ¶
Types ¶
type AssetS3SNSRecords ¶
type AssetS3SNSRecords struct {
Records []Record `json:"Records"`
}
type AwsSNSSubscribeInput ¶
type AwsSNSSubscribeInput struct { Type string `json:"Type"` MessageId string `json:"MessageId"` TopicArn string `json:"TopicArn"` Subject string `json:"Subject"` Message string `json:"Message,omitempty"` Timestamp string `json:"Timestamp"` SignatureVersion string `json:"SignatureVersion"` Signature string `json:"Signature"` SigningCertURL string `json:"SigningCertURL"` SubscribeURL string `json:"SubscribeURL,omitempty"` UnsubscribeURL string `json:"UnsubscribeURL,omitempty"` Token string `json:"Token,omitempty"` }
Click to show internal directories.
Click to hide internal directories.