status-go/cmd/status-backend/server/parse-api/endpoints_template.txt

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 }}
}