package api import ( "net/http" ) func IdentityApi(mux *http.ServeMux, impl *IdentityImpl) { mux.HandleFunc("POST /Identity.Login", impl.Login) mux.HandleFunc("POST /Identity.Logout", impl.Logout) } type Identity_LoginReq struct { Email string Password string } type Identity_LoginRes struct {} func (r *Identity_LoginReq) Prepare() error { return nil }