apicommon
apicommon
import "github.com/cloudfoundry/go-cf-api/internal/apicommon"
Index
Constants
const INDENT = " "
type JSONSerializer
type JSONSerializer struct {
echo.DefaultJSONSerializer
}
func (JSONSerializer) Deserialize
func (d JSONSerializer) Deserialize(c echo.Context, i interface{}) error
func (JSONSerializer) Serialize
func (d JSONSerializer) Serialize(c echo.Context, iface interface{}, indent string) error
type Validator
type Validator struct {
Validator *validator.Validate
}
func (*Validator) Validate
func (cv *Validator) Validate(i interface{}) error
Generated by gomarkdoc