api

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Run() error
}

Server はサーバーとして動作するアプリケーションです。

func New

func New() Server

New はサーバーを生成します。

type TaskRouter

type TaskRouter struct{}

TaskRouter は task に関するルーターの定義です。

func NewTaskRouter

func NewTaskRouter() *TaskRouter

NewTaskRouter はルーターを生成します。

func (*TaskRouter) CreateTask

func (r *TaskRouter) CreateTask(c *gin.Context)

CreateTask はタスク生成のリクエストを処理します。

Jump to

Keyboard shortcuts

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