transport

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

generated code, do not modify

generated code, do not modify

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHttpHandlers

func RegisterHttpHandlers(endpoints EndpointSet, router *mux.Router, opts []kithttp.ServerOption)

Types

type CreateLinkRequest

type CreateLinkRequest struct {
	BoardId string
	Nl      application.NewLink
}

type DeleteLinkRequest

type DeleteLinkRequest struct {
	BoardId string
	LinkId  string
}

type EndpointSet

type EndpointSet struct {
	CreateLinkEndpoint endpoint.Endpoint
	DeleteLinkEndpoint endpoint.Endpoint
	RateLinkEndpoint   endpoint.Endpoint
	LinkEndpoint       endpoint.Endpoint
	LinksEndpoint      endpoint.Endpoint
}

type LinkRequest

type LinkRequest struct {
	BoardId string
	LinkId  string
}

type LinksRequest

type LinksRequest struct {
	BoardId string
	Qp      application.LinkQueryParams
}

type Middlewares

type Middlewares struct {
	CreateLinkEndpoint []endpoint.Middleware
	DeleteLinkEndpoint []endpoint.Middleware
	RateLinkEndpoint   []endpoint.Middleware
	LinkEndpoint       []endpoint.Middleware
	LinksEndpoint      []endpoint.Middleware
}

type RateLinkRequest

type RateLinkRequest struct {
	BoardId string
	LinkId  string
	Lr      application.LinkRating
}

Jump to

Keyboard shortcuts

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