controllers

package
v0.0.1-alpha-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingController

type PingController interface {
	Ping(ctx *gin.Context)
}

PingController is an interface for ping controller

func NewPingController

func NewPingController(dependencies initializer.Services) PingController

NewPingController initializes ping controller with dependency

type TodoController

type TodoController interface {
	Create(ctx *gin.Context)
	List(ctx *gin.Context)
}

TodoController is an interface for todo controller

func NewTodoController

func NewTodoController(dependencies initializer.Services) TodoController

NewTodoController initializes todo controller with dependency

Jump to

Keyboard shortcuts

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