Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Store adapter
Store is the package state variable which contains database connections
Functions ¶
func GetDoDroplets ¶
GetDoDroplets fetches droplet details from Digital ocean api
func GetSyncDetail ¶
func GetSyncDetail(w http.ResponseWriter, r *http.Request)
GetSyncDetail retrieves key or token from database. should fetch and return key tag rather than key value.
Types ¶
type DOTokenSource ¶
type DOTokenSource struct {
AccessToken string
}
DOTokenSource required for digital ocean api
Click to show internal directories.
Click to hide internal directories.