Popularity
6.7
Declining
Activity
0.0
Stable
9
6
4
Monthly Downloads: 2
Programming language: Haskell
License: MIT License
DOH alternatives and similar packages
Based on the "network" category.
Alternatively, view DOH alternatives based on common mentions on social networks and blogs.
-
compendium-client
Mu (μ) is a purely functional framework for building micro services. -
resolv
Domain Name Service (DNS) lookup via the libresolv standard library routines -
network-data
Network data structures in Haskell (IP, UDP, TCP headers, etc) -
windns
Domain Name Service (DNS) lookup via the Windows dnsapi standard library -
hatexmpp3
XMPP client with synthetic filesystem (9P) and (optional) graphical (GTK3) interfaces -
LDAPv3
Lightweight Directory Access Protocol V3 (LDAPv3) RFC4511 implementation -
hsendxmpp
sendxmpp clone and drop-in replacement, sending XMPP messages via CLI -
transient-universe-tls
Secure communications for transient-universe -
iwlib
A binding to the iw library for getting info about the current WiFi connection. -
network-uri-lenses
lenses for http://hackage.haskell.org/package/network-uri -
network-simple-wss
Simple Haskell interface to TLS secured WebSockets -
google-oauth2-easy
📛 Easy Google Authentication integration - Authorization Code & Refresh Token
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of DOH or a related project?
Popular Comparisons
README
DOH
Complete API bindings for DigitalOcean API V2
Getting Started
Here is an example usage of the API:
{-# LANGUAGE OverloadedStrings #-}
module Main where
-----------------------------------------------------------------
import Network.DigitalOcean
import Network.DigitalOcean.Types
import Network.DigitalOcean.Services
-----------------------------------------------------------------
import Control.Monad.Except
import Control.Monad.Reader
-----------------------------------------------------------------
client :: Client
client = Client "your api key"
main :: IO ()
main = do
result <- runExceptT $ (runReaderT $ runDO createViaSshKeys) client
case result of
Left err -> print err
Right _ -> return ()
createViaSshKeys :: DO ()
createViaSshKeys = do
-- Read a public key from a key pair and create ssh keys on DigitalOcean with it
pubKey <- liftIO $ readFile "/Users/yigitozkavci/.ssh/do_api_rsa.pub"
sshKey <- createSSHKey (SSHKeyPayload "my api key" pubKey)
-- Create 2 droplets with our newly uploaded ssh keys
let dropletPayload = IDropletPayload "nyc3" "512mb" Ubuntu1404x64 (Just [sshkeyFingerprint sshKey]) Nothing Nothing Nothing Nothing Nothing Nothing Nothing
droplets <- map dropletId <$> createDroplets ["droplet-1", "droplet-2"] dropletPayload
-- Take snapshot of our newly created droplets
forM_ droplets $ \dropletId -> performDropletAction dropletId (TakeSnapshot (Just "bulk snapshot"))
For full documentation and reference, see: http://hackage.haskell.org/package/DOH-0.1.2.0
Contributing
What can you do?
- You can open an issue for unexpected / needed behaviors
- Better, you can send a Pull Request
Any kind of contributions are welcome, even if it's updating docs / improving commenting / improving tests.