gotsrpc/example/nullable/service/handler.go
2022-02-17 14:22:15 +01:00

41 lines
1.1 KiB
Go

package service
import (
"net/http"
)
type Handler struct{}
func (h *Handler) VariantA(w http.ResponseWriter, r *http.Request, i1 Base) (r1 Base) {
return i1
}
func (h *Handler) VariantB(w http.ResponseWriter, r *http.Request, i1 BCustomType) (r1 BCustomType) {
return i1
}
func (h *Handler) VariantC(w http.ResponseWriter, r *http.Request, i1 BCustomTypes) (r1 BCustomTypes) {
return i1
}
func (h *Handler) VariantD(w http.ResponseWriter, r *http.Request, i1 BCustomTypesMap) (r1 BCustomTypesMap) {
return i1
}
func (h *Handler) VariantE(w http.ResponseWriter, r *http.Request, i1 *Base) (r1 *Base) {
return i1
}
func (h *Handler) VariantF(w http.ResponseWriter, r *http.Request, i1 []*Base) (r1 []*Base) {
return i1
}
func (h *Handler) VariantG(w http.ResponseWriter, r *http.Request, i1 map[string]*Base) (r1 map[string]*Base) {
return i1
}
func (h *Handler) VariantH(w http.ResponseWriter, r *http.Request, i1 Base, i2 *Base, i3 []*Base, i4 map[string]Base) (r1 Base, r2 *Base, r3 []*Base, r4 map[string]Base) {
//TODO implement me
panic("implement me")
}