Documentation ¶
Overview ¶
http handler
Index ¶
- Variables
- func DeleteBlockUsers(w http.ResponseWriter, r *http.Request)
- 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 GetBlockUsers(w http.ResponseWriter, r *http.Request)
- func GetContacts(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 GetUserUnreadCount(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 PostMessages(w http.ResponseWriter, r *http.Request)
- func PostRoom(w http.ResponseWriter, r *http.Request)
- func PostUser(w http.ResponseWriter, r *http.Request)
- func PutBlockUsers(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 SetBlockUserMux()
- func SetContactMux()
- func SetDeviceMux()
- func SetMessageMux()
- func SetPprofMux()
- 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 ( Mux *bone.Mux Context context.Context NoBodyStatusCodes []int = []int{ http.StatusNotFound, http.StatusConflict, } )
Functions ¶
func DeleteBlockUsers ¶ added in v0.7.0
func DeleteBlockUsers(w http.ResponseWriter, r *http.Request)
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 GetBlockUsers ¶ added in v0.7.0
func GetBlockUsers(w http.ResponseWriter, r *http.Request)
func GetContacts ¶ added in v0.7.0
func GetContacts(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 GetUserUnreadCount ¶ added in v0.7.1
func GetUserUnreadCount(w http.ResponseWriter, r *http.Request)
func PostAssetAwsSns ¶
func PostAssetAwsSns(w http.ResponseWriter, r *http.Request)
func PostMessages ¶ added in v0.2.0
func PostMessages(w http.ResponseWriter, r *http.Request)
func PutBlockUsers ¶ added in v0.7.0
func PutBlockUsers(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 SetBlockUserMux ¶ added in v0.7.0
func SetBlockUserMux()
func SetContactMux ¶ added in v0.7.0
func SetContactMux()
func SetDeviceMux ¶ added in v0.2.0
func SetDeviceMux()
func SetMessageMux ¶
func SetMessageMux()
func SetPprofMux ¶ added in v0.6.0
func SetPprofMux()
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.