euportal

package
v0.0.0-...-4109721 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package euportal provides CRUD functionality to interact with EU Portal API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, cfg Config, dataset string, catID uuid.UUID) error

Create creates a dataset.

func Delete

func Delete(ctx context.Context, cfg Config, dataset string) error

Delete deletes a dataset.

func Update

func Update(ctx context.Context, cfg Config, dataset string, catID uuid.UUID) error

Update updates a dataset.

Types

type Config

type Config struct {
	Name       string
	Username   string
	Host       string
	DisableTLS bool
	HTTPClient *http.Client
	Timeout    time.Duration
}

type DatasetResponse

type DatasetResponse struct {
	ID string `json:"dataset_id"`
}

DatasetResponse represents the central platform identifier response.

Jump to

Keyboard shortcuts

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