status-go/cmd/status-backend/server/parse-api/endpoints_template.txt
Igor Sirotin 5fc8a974d9
chore_: move rename server (#5906)
* chore_: move and rename server files

* fix_: linter
2024-10-04 14:24:36 +01:00

30 lines
740 B
Plaintext

// Code generated by parse-api/main.go. DO NOT EDIT.
// source: parse-api/main.go
package server
import statusgo "github.com/status-im/status-go/mobile"
var EndpointsWithRequest = map[string]func(string) string{
{{- range .FunctionsWithResp }}
"/{{ $.PackageName }}/{{ . }}": {{ $.PackageName }}.{{ . }},
{{- end }}
}
var EndpointsWithoutRequest = map[string]func() string{
{{- range .FunctionsNoArgs }}
"/{{ $.PackageName }}/{{ . }}": {{ $.PackageName }}.{{ . }},
{{- end }}
}
var EndpointsUnsupported = []string{
{{- range .UnsupportedEndpoints }}
"/{{ $.PackageName }}/{{ . }}",
{{- end }}
}
var EndpointsDeprecated = map[string]struct{}{
{{- range .DeprecatedEndpoints }}
"/{{ $.PackageName }}/{{ . }}": {},
{{- end }}
}