neptune-backend-0.3.0: Neptune Client
Copyright(c) Jiasen Wu 2020
LicenseBSD-3-Clause
Safe HaskellNone
LanguageHaskell2010

Neptune.Session

Description

 
Synopsis

Documentation

data ClientToken Source #

Decoded client token

Constructors

ClientToken 

Fields

Instances

Instances details
Show ClientToken Source # 
Instance details

Defined in Neptune.Session

Generic ClientToken Source # 
Instance details

Defined in Neptune.Session

Associated Types

type Rep ClientToken :: Type -> Type #

FromEnv ClientToken Source # 
Instance details

Defined in Neptune.Session

type Rep ClientToken Source # 
Instance details

Defined in Neptune.Session

type Rep ClientToken = D1 ('MetaData "ClientToken" "Neptune.Session" "neptune-backend-0.3.0-B6AQsu3QknaBGHUpo43rDz" 'False) (C1 ('MetaCons "ClientToken" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_ct_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ct_api_address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_ct_api_url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ct_api_key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))

type Dispatcher = forall req contentType res accept. (Produces req accept, MimeUnrender accept res, MimeType contentType, HasCallStack) => NeptuneBackendRequest req contentType res accept -> IO res Source #

data NeptuneSession Source #

Neptune session. It contains all necessary information to communicate the server.

data Experiment Source #

Constructors

Experiment 

Fields

newtype DataChannel a Source #

Type-safe data channel

Constructors

DataChannel Text

Channel Id

Instances

Instances details
Show (DataChannel a) Source # 
Instance details

Defined in Neptune.Session

data DataChannelAny Source #

Data channel of any type

Constructors

forall a.NeptDataType a => DataChannelAny (DataChannel a) 

Instances

Instances details
Show DataChannelAny Source # 
Instance details

Defined in Neptune.Session

type ChannelHashMap = TVar (HashMap Text DataChannelAny) Source #

Hashmap of all channels in use

data DataPoint a Source #

Type-safe data point

Constructors

DataPoint 

Instances

Instances details
Show a => Show (DataPoint a) Source # 
Instance details

Defined in Neptune.Session

data DataPointAny Source #

Data point of any type

Constructors

forall a.NeptDataType a => DataPointAny (DataPoint a) 

Instances

Instances details
Show DataPointAny Source # 
Instance details

Defined in Neptune.Session

dpt_value :: forall a a. Lens (DataPoint a) (DataPoint a) a a Source #

dpt_name :: forall a. Lens' (DataPoint a) Text Source #