@@ -10,7 +10,7 @@ import (
1010)
1111
1212// Retrieve all existing profiles
13- func AdminProfilesHandler (responseWriter http.ResponseWriter , request * http.Request ) {
13+ func ProfilesHandler (responseWriter http.ResponseWriter , request * http.Request ) {
1414 if isValidMethod := verifyValidMethod ("GET" , responseWriter , request ); ! isValidMethod {
1515 return
1616 }
@@ -39,7 +39,7 @@ type adminTokenResetPayload struct {
3939}
4040
4141// Reset the token of an existing stream profile
42- func AdminProfilesResetTokenHandler (responseWriter http.ResponseWriter , request * http.Request ) {
42+ func ProfilesResetTokenHandler (responseWriter http.ResponseWriter , request * http.Request ) {
4343 if isValidMethod := verifyValidMethod ("POST" , responseWriter , request ); ! isValidMethod {
4444 return
4545 }
@@ -70,7 +70,7 @@ type adminAddStreamPayload struct {
7070}
7171
7272// Reset the token of an existing stream profile
73- func AdminProfileAddHandler (responseWriter http.ResponseWriter , request * http.Request ) {
73+ func ProfileAddHandler (responseWriter http.ResponseWriter , request * http.Request ) {
7474 if isValidMethod := verifyValidMethod ("POST" , responseWriter , request ); ! isValidMethod {
7575 return
7676 }
@@ -101,7 +101,7 @@ type adminRemoveStreamPayload struct {
101101}
102102
103103// Reset the token of an existing stream profile
104- func AdminProfileRemoveHandler (responseWriter http.ResponseWriter , request * http.Request ) {
104+ func ProfileRemoveHandler (responseWriter http.ResponseWriter , request * http.Request ) {
105105 if isValidMethod := verifyValidMethod ("POST" , responseWriter , request ); ! isValidMethod {
106106 return
107107 }
0 commit comments