Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *database.Database, appInfo *api.ApplicationInfo, conf *config.Config) (*echo.Echo, error)

    New creates new server

    func PrintRoutes

    func PrintRoutes(echoServer *echo.Echo)

      PrintRoutes prints routes in the server

      Types

      type CustomValidator

      type CustomValidator struct {
      	// contains filtered or unexported fields
      }

        CustomValidator is our validator for the API

        func (*CustomValidator) Validate

        func (cv *CustomValidator) Validate(i interface{}) error

          Validate validates the input

          Source Files

          Directories

          Path Synopsis
          Package statik contains static assets.
          Package statik contains static assets.