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 (*HttpServer) CreateLink ¶
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)
Click to show internal directories.
Click to hide internal directories.