Documentation
¶
Index ¶
- type Any
- type Bool
- type Byte
- type Bytes
- type Call
- type Case
- type Cases
- type Char
- type Def
- type DefaultCase
- type Defs
- type Field
- type Fields
- type Float
- type Fn
- type Inductive
- type Int
- type Link
- type List
- type Map
- type Method
- type Methods
- type Named
- type Nothing
- type Ref
- type Refs
- type Return
- type Service
- type Singleton
- type SingletonBool
- type SingletonByte
- type SingletonChar
- type SingletonFloat
- type SingletonInt
- type SingletonString
- type Slots
- type String
- type Structure
- type Tuple
- type Union
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct { Fn Fn // type signature of the function being called ID Def // function instance identifier (can be a user-defined type) }
Call is the type representing a function call (aka request)
type DefaultCase ¶
type Inductive ¶
type Inductive struct { Cases Cases Default DefaultCase }
type Return ¶
type Return struct { Fn Fn // type signature of the function returning a result ID Def // function instance identifier (can be a user-defined type) }
Return is the type representing a function result (aka response)
type SingletonBool ¶
type SingletonBool struct {
Bool bool
}
func (SingletonBool) Kind ¶
func (SingletonBool) Kind() string
type SingletonByte ¶
type SingletonByte struct {
Byte byte
}
func (SingletonByte) Kind ¶
func (SingletonByte) Kind() string
type SingletonChar ¶
type SingletonChar struct {
Char rune
}
func (SingletonChar) Kind ¶
func (SingletonChar) Kind() string
type SingletonFloat ¶
type SingletonFloat struct {
Float float64
}
func (SingletonFloat) Kind ¶
func (SingletonFloat) Kind() string
type SingletonInt ¶
type SingletonInt struct {
Int int64
}
func (SingletonInt) Kind ¶
func (SingletonInt) Kind() string
type SingletonString ¶
type SingletonString struct {
String string
}
func (SingletonString) Kind ¶
func (SingletonString) Kind() string
Click to show internal directories.
Click to hide internal directories.