api

package
v0.0.0-...-f90a1ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	LinkUseCases linkUsecaseInteface
}
func (hs *HttpServer) CreateLink(requestData entities.Link) error

func (*HttpServer) GetLinkByFrom

func (hs *HttpServer) GetLinkByFrom(from string) (string, error)

func (*HttpServer) Serve

func (hs *HttpServer) Serve(addr string)

func (*HttpServer) ServeHTTP

func (hs *HttpServer) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL