provider

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCreate

func HandleCreate(providers core.ProviderStore) http.HandlerFunc

HandleCreate returns http.HandlerFunc which writes JSON encoded result about creating provider to the http response body.

func HandleDelete

func HandleDelete(providers core.ProviderStore, users core.UserStore) http.HandlerFunc

HandleDelete returns an http.HandlerFunc that writes JSON encoded result about deleting provider to the http response body.

func HandleFind

func HandleFind(providers core.ProviderStore, users core.UserStore) http.HandlerFunc

HandleFind writes JSON encoded provider data to the http response body.

func HandleListUser

func HandleListUser(providers core.ProviderStore) http.HandlerFunc

HandleListUser returns http.HandlerFunc that writes JSON encoded list of providers based on user id to http response body.

func HandleSync

func HandleSync(providers core.ProviderStore) http.HandlerFunc

HandleSync returns an http.HandlerFunc that writes JSON encoded result about syncing provider to the http response body.

func HandleUpdate

func HandleUpdate(providers core.ProviderStore, users core.UserStore) http.HandlerFunc

HandleUpdate returns http.HandlerFunc which writes JSON encoded result about updating provider to the http response body.

Types

This section is empty.

Jump to

Keyboard shortcuts

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