api

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

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

Go to latest
Published: Jan 21, 2019 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const APIVersion = "1"

Variables

This section is empty.

Functions

func AppendContentEndpointFactory

func AppendContentEndpointFactory(store interfaces.MetadataStore, contentStore interfaces.ContentStore, synchronizationStore interfaces.SynchronizationStore) http.Handler

func AttachAPIMethods

func AttachAPIMethods(syncStore interfaces.SynchronizationStore,
	contentStore interfaces.ContentStore, metadataStore interfaces.MetadataStore, uiDir string, staticDir string,
	shouldAttachDebugInterface bool, r *mux.Router)

AttachAPIMethods lets you attach Repositron methods to an existing HTTP router.

func DeleteBlobByIdEndpointFactory

func DeleteBlobByIdEndpointFactory(metadataStore interfaces.MetadataStore, contentStore interfaces.ContentStore) http.Handler

func DescribeEndpoint

func DescribeEndpoint() http.Handler

func GetBlobContentEndpointFactory

func GetBlobContentEndpointFactory(store interfaces.MetadataStore) http.Handler

func GetBlobDescriptionByIdEndpointFactory

func GetBlobDescriptionByIdEndpointFactory(store interfaces.MetadataStore) http.Handler

func ListAllBlobsEndpointFactory

func ListAllBlobsEndpointFactory(store interfaces.MetadataStore) http.Handler

func SearchBlobEndpointFactory

func SearchBlobEndpointFactory(store interfaces.MetadataStore) http.Handler

func UploadContentEndpointFactory

func UploadContentEndpointFactory(metadataStore interfaces.MetadataStore, contentStore interfaces.ContentStore) http.Handler

func UploadDescriptionEndpointFactory

func UploadDescriptionEndpointFactory(store interfaces.MetadataStore, router *mux.Router) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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