handler

package
v0.0.0-...-eb599cc Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(s service) *router.Router

NewRouter creates a new router for this service

Types

type Controller

type Controller struct{}

Controller handles requests

func (*Controller) GetUser

GetUser reads a user by ID

func (*Controller) ListUsers

ListUsers lists all users

Jump to

Keyboard shortcuts

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