endpoint

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UseLogger

func UseLogger(c *gin.Context) log.Logger

func UseUC

func UseUC(c *gin.Context) usecase.UseCase

func WithLogger

func WithLogger(logger log.Logger) gin.HandlerFunc

func WithUseCase

func WithUseCase(uc usecase.UseCase) gin.HandlerFunc

Types

type Endpoints

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

func New

func New(uc usecase.UseCase) *Endpoints

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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