handlers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oshiete

type Oshiete struct {
	OshieteService  OshieteService
	TempleteService TemplateService
}

func (*Oshiete) Do

func (h *Oshiete) Do(c *gin.Context)

type OshieteService

type OshieteService interface {
	Eru(key, answer string) error
	Ete(key string) (*models.EteAnswer, error)
}

type TemplateService

type TemplateService interface {
	OutEte(answer *models.EteAnswer) (string, error)
}

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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