transport

package module
v0.0.0-...-e3b82f8 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeGetAPIStatusEndpoint

func MakeGetAPIStatusEndpoint() endpoint.Endpoint

MakeGetAPIStatusEndpoint returns an endpoint via the passed service. Primarily useful in a server.

Types

type Endpoints

type Endpoints struct {
	GetAPIStatusEndpoint endpoint.Endpoint
}

Endpoints collects all of the konga API endpoints.

func MakeServerEndpoints

func MakeServerEndpoints(s konga.Service) Endpoints

MakeServerEndpoints returns an Endpoints struct where each endpoint invokes the corresponding method on the provided konga.Service. Useful in a konga.Service server.

type GetAPIStatusRequest

type GetAPIStatusRequest struct{}

GetAPIStatusRequest request object

type GetAPIStatusResponse

type GetAPIStatusResponse struct {
	Status string `json:"status,omitempty"`
	Err    error  `json:"err,omitempty"`
}

GetAPIStatusResponse response object

Directories

Path Synopsis
http module

Jump to

Keyboard shortcuts

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