types

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options map[string]interface{}

Options is a generic key-value map that can be passed to services

type Request

type Request struct {
	Body []byte
}

Request represents data to be sent to a service

type Response

type Response struct {
	Body  []byte
	Error error
}

Response represents a response from a service

type Service

type Service struct {
	Name string
	Addr string
	Type string
}

Service represents a service endpoint as returned from a Locator

type ServiceRequest

type ServiceRequest struct {
	Service *Service
	Request
}

ServiceRequest represents a call to a service

type Signature

type Signature struct {
	Namespace string
	Service   string
	Instance  string
}

Signature represents a call to a service within a namespace

Jump to

Keyboard shortcuts

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