Documentation
¶
Index ¶
- type URLShortnerServer
- func (t URLShortnerServer) GetLongURLFromShort(w http.ResponseWriter, r *http.Request, url string) *domain.Response
- func (t URLShortnerServer) PostSignIn(w http.ResponseWriter, r *http.Request) *domain.Response
- func (t URLShortnerServer) PostSignUp(w http.ResponseWriter, r *http.Request) *domain.Response
- func (t URLShortnerServer) ShortenURL(w http.ResponseWriter, r *http.Request) *domain.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URLShortnerServer ¶
func (URLShortnerServer) GetLongURLFromShort ¶
func (t URLShortnerServer) GetLongURLFromShort(w http.ResponseWriter, r *http.Request, url string) *domain.Response
func (URLShortnerServer) PostSignIn ¶
func (t URLShortnerServer) PostSignIn(w http.ResponseWriter, r *http.Request) *domain.Response
func (URLShortnerServer) PostSignUp ¶
func (t URLShortnerServer) PostSignUp(w http.ResponseWriter, r *http.Request) *domain.Response
func (URLShortnerServer) ShortenURL ¶
func (t URLShortnerServer) ShortenURL(w http.ResponseWriter, r *http.Request) *domain.Response
Click to show internal directories.
Click to hide internal directories.