Black Lives Matter
Support the Equal Justice Initiative
Link to Go homepage
  • Why Go
  • Getting Started
  • Discover Packages
  • About
Go.
  • Why Go
  • Getting Started
  • Discover Packages
  • About
  • golang.org
Discover Packages github.com/wingsxdu/tinyurl example echo

echoapi

package
Version v0.1.3
Latest Latest Go to latest
Jul 28, 2020 MIT 6 Imports 0 Imported by
Go
echoapi
Version v0.1.3
Latest Go to latest
Jul 28, 2020 MIT 6 Imports 0 Imported by
  • Documentation
    • Index
    • Constants
    • Variables
    • Functions
      • DeleteUrl(c)
      • GetUrl(c)
      • Gett(c)
      • New()
      • PostUrl(c)
      • PutUrl(c)
    • Types
  • Source Files

Documentation

Index ¶

  • func DeleteUrl(c echo.Context) error
  • func GetUrl(c echo.Context) error
  • func Gett(c echo.Context) error
  • func New()
  • func PostUrl(c echo.Context) error
  • func PutUrl(c echo.Context) error

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func DeleteUrl ¶

func DeleteUrl(c echo.Context) error

    DELETE http://localhost/t?tinyurl=2n9d

    func GetUrl ¶

    func GetUrl(c echo.Context) error

      GET http://localhost/t/2n9d

      func Gett ¶

      func Gett(c echo.Context) error

        GET http://localhost/gett/2n9d

        func New ¶

        func New()

        func PostUrl ¶

        func PostUrl(c echo.Context) error

          POST http://localhost/t?url=https://www.google.com/

          func PutUrl ¶

          func PutUrl(c echo.Context) error

            PUT http://localhost/t?tinyurl=2n9d&newurl=https://cn.bing.com/

            Types ¶

            This section is empty.

            Source Files

            View all
            • echoApi.go
            • main.go
            DetailsLearn more
            • checked Valid go.mod file
            • checked Redistributable license
            • checked Tagged version
            • unchecked Stable version
            Repository
            https://github.com/wingsxdu/tinyurl

            Jump to

            Keyboard shortcuts

            ? : This menu
            / : Search site
            f or F : Jump to
            Why Go Use Cases Case Studies
            Getting Started Playground Tour Stack Overflow
            Discover Packages
            About Download Blog Release Notes Brand Guidelines Code of Conduct
            Connect Twitter GitHub Slack Meetup
            Gopher in flight goggles
            • Copyright
            • Terms of Service
            • Privacy Policy
            • Report an Issue
            • golang.org
            Google logo