mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-02 22:22:46 +00:00
Add push server component template
This commit is contained in:
parent
092edee210
commit
6843c3beee
22 changed files with 487 additions and 0 deletions
14
pushserver/api/api.go
Normal file
14
pushserver/api/api.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
package api
|
||||
|
||||
import "context"
|
||||
|
||||
type PushserverInternalAPI interface {
|
||||
QueryExample(
|
||||
ctx context.Context,
|
||||
request *QueryExampleRequest,
|
||||
response *QueryExampleResponse,
|
||||
) error
|
||||
}
|
||||
|
||||
type QueryExampleRequest struct{}
|
||||
type QueryExampleResponse struct{}
|
Loading…
Add table
Add a link
Reference in a new issue