router

package
v0.0.0-...-111a370 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

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

Router is a struct embedding an interactor and a gin engine

func NewRouter

func NewRouter(i uc.LogicHandler, r *gin.Engine) Router

NewRouter will return a new router

func (Router) SetRoutes

func (r Router) SetRoutes()

SetRoutes will create the necessary routes

func (Router) Similar

func (r Router) Similar(c *gin.Context)

Similar allows to retrieve similar images

Jump to

Keyboard shortcuts

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