populatefhirendpoints

package
v0.0.0-...-33bd6cc Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEndpointData

func AddEndpointData(ctx context.Context, store *postgresql.Store, endpoints *fetcher.ListOfEndpoints) error

AddEndpointData iterates through the list of endpoints and adds each one to the database

func RemoveOldEndpoints

func RemoveOldEndpoints(ctx context.Context, store *postgresql.Store, updateTime time.Time, listSource string) error

RemoveOldEndpoints removes fhir endpoints from fhir_endpoints and fhir_endpoints_info that are no longer in the given listsource

Types

This section is empty.

Jump to

Keyboard shortcuts

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