~/bend-docscommunity

main.bend relies on unsafe/foreign

raw source on the hub · import 0x0fcbfd752798596b0c5c3cea4816dd08/main.bend as Main

3 imports
import Base
import ./client.bend as Api
import ./http.bend as H

Definitions

def env_or.fin source · line 7 · raw

@r:Result<&1, &1, Pair(U32, String), String> -> @fallback:String -> IO(String)

def env_or source · line 16 · raw

@name:String -> @fallback:String -> IO(String)

def load_client.go source · line 21 · raw

@+base:String -> @token:String -> @org:String -> 0x0fcbfd752798596b0c5c3cea4816dd08/client.Client

def load_client source · line 24 · raw

IO(0x0fcbfd752798596b0c5c3cea4816dd08/client.Client)

def example_health source · line 34 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def example_plans source · line 40 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def example_login source · line 46 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> @email:String -> @password:String -> IO(Unit)

def example_register source · line 52 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> @email:String -> @password:String -> @name:String -> IO(Unit)

def example_refresh source · line 61 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> @token:String -> IO(Unit)

def example_logout source · line 67 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def example_me source · line 73 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def example_wallet source · line 79 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def example_temporary source · line 85 · raw

@+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def usage source · line 91 · raw

String

def with_login source · line 99 · raw

@rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def with_refresh source · line 110 · raw

@rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def with_three source · line 117 · raw

@rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.refresh.if source · line 132 · raw

@is_refresh:Bool -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.refresh source · line 141 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.register.if source · line 145 · raw

@is_register:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.register source · line 154 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.login.if source · line 158 · raw

@is_login:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.login source · line 167 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.temporary.if source · line 171 · raw

@is_temporary:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.temporary source · line 180 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.logout.if source · line 184 · raw

@is_logout:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.logout source · line 193 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.wallet.if source · line 197 · raw

@is_wallet:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.wallet source · line 206 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.me.if source · line 210 · raw

@is_me:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.me source · line 219 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.plans.if source · line 222 · raw

@is_plans:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.plans source · line 231 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.health.if source · line 235 · raw

@is_health:Bool -> @+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch.health source · line 244 · raw

@+cmd:String -> @rest:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def dispatch source · line 248 · raw

@xs:List<&1, String> -> @+c:0x0fcbfd752798596b0c5c3cea4816dd08/client.Client -> IO(Unit)

def main source · line 255 · raw

IO(Unit)