rc

package
v0.0.0-...-1eebd2c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: EUPL-1.2 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrResponseFailed = errors.New("response failed with")

Functions

This section is empty.

Types

type FRP

type FRP struct {
	// contains filtered or unexported fields
}

func NewFRP

func NewFRP(municipality, lv *RestCall) *FRP

func (*FRP) GetPerson

func (frp *FRP) GetPerson(ctx context.Context, vwl *model.VwlLog, id uuid.UUID) (*model.Person, error)

func (*FRP) GetPersonBSN

func (frp *FRP) GetPersonBSN(ctx context.Context, vwl *model.VwlLog, bsn string) (*model.Person, error)

type RestCall

type RestCall struct {
	// contains filtered or unexported fields
}

this is package to wrap a rest call.

func New

func New(name, backendURL, fscGrantHash string, vwlConfig model.VwlConfig) *RestCall

func (*RestCall) Request

func (rc *RestCall) Request(ctx context.Context, verwerking *model.VwlLog, method, path string, data, value any) error

Jump to

Keyboard shortcuts

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