package
0.0.0-20240103051156-c45505302466
Repository: https://github.com/ourrootsorg/cms-server.git
Documentation: pkg.go.dev

# Functions

NewAPI builds an API; Close() the api when you're done with it to free up resources.
NewError builds an Error collection from an `error`, which may actually be a ValidationErrors collection or a `model.Error`.
NewHTTPError allows overriding the HTTP status code inferred by `NewErrror`.

# Constants

No description provided by the author
0 - default.
1 - exact year.
4 - +/- 5 years.
2 - +/- 1 year.
5 - +/- 10 years.
3 - +/- 2 years.
given and surname fuzziness constants are flags that can be OR'd together names can also contain wildcards (*, ?) but in that case fuzziness above Exact is ignored.
1 - exact match.
32 - initials (applies only to given).
16 - fuzzy (levenshtein).
8 - sounds-like (broad) - low-precision, high-recall.
4 - sounds-like (narrow) - high-precision, low-recall.
2 - variant spellings.
place fuzziness constants can also be OR'd together.
1 - search this place only.
2 - searches for City, County, State, Country also match County, State, Country or State, Country.
4 - search nearby places // TODO not implemented.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
API is the container for the apilication.
No description provided by the author
BlobStoreConfig contains configuration information for the blob store.
No description provided by the author
CategoryResult is a paged Category result.
CollectionResult is a paged Collection result.
ContentRequest contains a content type of the content to post.
ContentResult contains a URL to post the content.
No description provided by the author
Error is an ordered collection of errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PostResult is a paged Post result.
PubSubConfig contains configuration information for the pub sub service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RecordDetail is a record with optional labels, citation, household, and image path.
RecordsResult is a paged Record result.
int.
SearchByIDRequest contains the possible search by id request parameters.
SearchRequest contains the possible search request parameters.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

LocalAPI is an interface used for mocking API.
OIDCProvider enables mocking `*oidc.Provider`.