feat(components): upgrade server pipeline

master
Xeronith 2023-05-02 21:13:35 +03:30
rodzic b7cfb2e4d3
commit 53f9bf25cd
19 zmienionych plików z 20 dodań i 3 usunięć

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *authorizeInteractionHandler) HandlerFunc() HttpHandlerFunc {
AUTHORIZE_INTERACTION_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *echoHandler) HandlerFunc() HttpHandlerFunc {
ECHO_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -40,6 +40,7 @@ func (handler *followActorHandler) HandlerFunc() HttpHandlerFunc {
FOLLOW_ACTOR_RESULT,
request, result,
onRequestUnmarshalled,
nil,
true,
); err != nil {
return err

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *getActorHandler) HandlerFunc() HttpHandlerFunc {
GET_ACTOR_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *getFollowersHandler) HandlerFunc() HttpHandlerFunc {
GET_FOLLOWERS_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *getFollowingHandler) HandlerFunc() HttpHandlerFunc {
GET_FOLLOWING_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *getInboxHandler) HandlerFunc() HttpHandlerFunc {
GET_INBOX_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *getOutboxHandler) HandlerFunc() HttpHandlerFunc {
GET_OUTBOX_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *getProfileByUserHandler) HandlerFunc() HttpHandlerFunc {
GET_PROFILE_BY_USER_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *loginHandler) HandlerFunc() HttpHandlerFunc {
LOGIN_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *logoutHandler) HandlerFunc() HttpHandlerFunc {
LOGOUT_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *postToInboxHandler) HandlerFunc() HttpHandlerFunc {
POST_TO_INBOX_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *postToOutboxHandler) HandlerFunc() HttpHandlerFunc {
POST_TO_OUTBOX_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *signupHandler) HandlerFunc() HttpHandlerFunc {
SIGNUP_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *updateProfileByUserHandler) HandlerFunc() HttpHandlerFunc {
UPDATE_PROFILE_BY_USER_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -38,6 +38,7 @@ func (handler *verifyHandler) HandlerFunc() HttpHandlerFunc {
VERIFY_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

Wyświetl plik

@ -39,6 +39,7 @@ func (handler *webfingerHandler) HandlerFunc() HttpHandlerFunc {
WEBFINGER_RESULT,
request, result,
onRequestUnmarshalled,
nil,
false,
)
}

2
go.mod
Wyświetl plik

@ -5,7 +5,7 @@ go 1.19
require (
github.com/robfig/cron v1.2.0
github.com/sendgrid/sendgrid-go v3.12.0+incompatible
github.com/xeronith/diamante v1.7.8
github.com/xeronith/diamante v1.8.0
google.golang.org/protobuf v1.28.1
)

4
go.sum
Wyświetl plik

@ -45,8 +45,8 @@ github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyC
github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQD0Loo=
github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
github.com/xeronith/diamante v1.7.8 h1:Mx6nXm3eqYo79dD3D0SoX/aSYa/23QSYGrVXwQdEuok=
github.com/xeronith/diamante v1.7.8/go.mod h1:9Tm1tILSKRFRLqvGkG6fTNdLpQbsTZohTLD6xRoWkx8=
github.com/xeronith/diamante v1.8.0 h1:qMZ9876WB2gEDNlOH6W/J3hRFc9KobPeEXGm48gDXfg=
github.com/xeronith/diamante v1.8.0/go.mod h1:9Tm1tILSKRFRLqvGkG6fTNdLpQbsTZohTLD6xRoWkx8=
golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ=