Documentation ¶
Index ¶
- func Catch(into *String) seed.Option
- func Hook(v client.Value, c seed.Seed)
- func Render(c seed.Seed) client.Script
- type Address
- type Bool
- func (b *Bool) GetBool() js.Bool
- func (b *Bool) GetDefaultValue() client.Value
- func (b *Bool) GetValue() js.Value
- func (b *Bool) Not() *Bool
- func (b *Bool) OnChange(do ...client.Script) seed.Option
- func (b *Bool) Protect(do ...client.Script) js.Script
- func (b *Bool) Set(literal bool) client.Script
- func (b *Bool) SetTo(value client.Bool) client.Script
- func (b *Bool) Toggle() client.Script
- func (b *Bool) Variable() (Address, Memory)
- type File
- func (f *File) GetBool() js.Bool
- func (f *File) GetDefaultValue() client.Value
- func (f *File) GetFile() js.Value
- func (f *File) GetValue() js.Value
- func (f *File) OnChange(do ...client.Script) seed.Option
- func (f *File) SetToRaw(value client.Value) client.Script
- func (f *File) Variable() (Address, Memory)
- type Float64
- func (v *Float64) GetBool() js.Bool
- func (v *Float64) GetDefaultValue() client.Value
- func (v *Float64) GetNumber() js.Number
- func (v *Float64) GetValue() js.Value
- func (v *Float64) Set(literal float64) client.Script
- func (v *Float64) SetTo(value client.Float) client.Script
- func (v *Float64) Variable() (Address, Memory)
- type Int
- func (i *Int) Add(literal int) client.Script
- func (i *Int) GetBool() js.Bool
- func (i *Int) GetDefaultValue() client.Value
- func (i *Int) GetNumber() js.Number
- func (i *Int) GetValue() js.Value
- func (i *Int) Set(literal int) client.Script
- func (i *Int) SetTo(v client.Int) client.Script
- func (i *Int) Variable() (Address, Memory)
- type Memory
- type Secret
- func (s *Secret) Equals(b client.String) client.Bool
- func (s *Secret) GetBool() js.Bool
- func (s *Secret) GetDefaultValue() client.Value
- func (s *Secret) GetString() js.String
- func (s *Secret) GetValue() js.Value
- func (s *Secret) SetTo(value client.String) client.Script
- func (s *Secret) Variable() (Address, Memory)
- type Set
- func (s *Set) Add(item client.Value) client.Script
- func (s *Set) Empty() client.Script
- func (s *Set) GetBool() js.Bool
- func (s *Set) GetDefaultValue() client.Value
- func (s *Set) GetSet() js.Set
- func (s *Set) GetValue() js.Value
- func (s *Set) Has(item client.Value) client.Bool
- func (s *Set) Remove(item client.Value) client.Script
- func (s *Set) Variable() (Address, Memory)
- type Signal
- func (s *Signal) GetBool() js.Bool
- func (s *Signal) GetDefaultValue() client.Value
- func (s *Signal) GetFunction() js.Function
- func (s *Signal) GetScript() js.Script
- func (s *Signal) GetValue() js.Value
- func (s *Signal) On(do ...client.Script) seed.Option
- func (s *Signal) Variable() (Address, Memory)
- type String
- func (s *String) GetBool() js.Bool
- func (s *String) GetDefaultValue() client.Value
- func (s *String) GetString() js.String
- func (s *String) GetValue() js.Value
- func (s *String) GoSet(fn interface{}, args ...client.Value) client.Script
- func (s *String) OnChange(do ...client.Script) seed.Option
- func (s *String) Set(literal string) client.Script
- func (s *String) SetTo(value client.String) client.Script
- func (s *String) Variable() (Address, Memory)
- type Value
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
type Address string
Address is a Memory Address
func NewAddress ¶
func NewAddress() Address
type Bool ¶
type Bool struct { Name string Memory Memory Value client.Bool // contains filtered or unexported fields }
Bool is an bool variable in client memory.
func (*Bool) GetDefaultValue ¶
GetDefaultValue implements Variable
func (*Bool) Not ¶
Not returns a clientside bool that is the inverse of b. Setting the returned bool has the inverse effect.
type File ¶
File is a (potentially zipped) file in client memory.
func (*File) GetDefaultValue ¶
GetDefaultValue implements Variable
type Float64 ¶
type Float64 struct { Name string Memory Memory Value float64 // contains filtered or unexported fields }
Float64 is an float64 variable in client memory.
func (*Float64) GetDefaultValue ¶
GetDefaultValue implements Variable
type Int ¶
Int is an int variable in client memory.
func (*Int) GetDefaultValue ¶
GetDefaultValue implements Variable
type Secret ¶
type Secret struct { Name string Memory Memory //Pepper should be set to a unique random string. Pepper string //Tweak these values to adjust the hashing difficulty. CPU time and RAM is in KiB. //Default is CPU: 1, RAM: 1024 CPU, RAM int //Length is the length of the readable hash of this secret. 32 by default. Length int // contains filtered or unexported fields }
Secret is a 'secret' string variable in client memory. Only the hash is available to read from Go. Use this for passwords.
func (*Secret) GetDefaultValue ¶
GetDefaultValue implements Variable
type Set ¶
type Set struct { Name string Memory Memory Value map[interface{}]struct{} // contains filtered or unexported fields }
Set implements a type-safe clientside equivalant to map[interface{}]struct{}
func (*Set) GetDefaultValue ¶
GetDefaultValue implements Variable
type Signal ¶
type Signal struct { Name string Memory Memory Value string // contains filtered or unexported fields }
Signal is a communication tool.
func (*Signal) GetDefaultValue ¶
GetDefaultValue implements Variable
func (*Signal) GetFunction ¶
GetFunction implements client.Function
type String ¶
type String struct { Name string Memory Memory Value string // contains filtered or unexported fields }
String is a string variable in client memory.
func (*String) GetDefaultValue ¶
GetDefaultValue implements Variable
type Value ¶
type Value struct { Name string Memory Memory Value client.Value // contains filtered or unexported fields }
Value is an untyped variable in client memory.
func (*Value) GetDefaultValue ¶
GetDefaultValue implements Variable