service

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RuntimeConfig *sap.RuntimeConfig

	Processors *processors.Processors
	Endpoint   *endpoints.Endpoint
}

type Requester

type Requester struct {
	ServiceInfo metainfo.ServiceInfo

	RuntimeConfig *sap.RuntimeConfig
	Processors    *processors.Processors
}

func NewRequester

func NewRequester(cfg *sap.RuntimeConfig, info metainfo.ServiceInfo, processors *processors.Processors, options ...func(*Requester)) *Requester

func (*Requester) NewRequest

func (r *Requester) NewRequest(ctx context.Context, op *request.Operation, in interface{}, out interface{}) *request.Request

type RequesterConfig

type RequesterConfig interface {
	ServiceConfig(serviceId string) (*Config, error)
}

Jump to

Keyboard shortcuts

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