v1

package
v0.0.0-...-3d2afa5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(opts *HandlerOptions) *handlerV1

Types

type HandlerOptions

type HandlerOptions struct {
	Cfg     *config.Config
	Log     *zap.Logger
	Service service.ServiceI
}

type ResponseCreated

type ResponseCreated struct {
	ID string `json:"id"`
}

type ResponseError

type ResponseError struct {
	Code    string `json:"code"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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