Versions in this module Expand all Collapse all v2 v2.7.2 Jan 29, 2024 Changes in this version + type Bindings struct + func NewBindings(logger *logger.Logger, structPointersToBind []interface{}, ...) *Bindings + func (b *Bindings) Add(structPtr interface{}) error + func (b *Bindings) AddEnumToGenerateTS(e interface{}) + func (b *Bindings) AddStructToGenerateTS(packageName string, structName string, s interface{}) + func (b *Bindings) DB() *DB + func (b *Bindings) GenerateGoBindings(baseDir string) error + func (b *Bindings) GenerateModels() ([]byte, error) + func (b *Bindings) SetOutputType(outputType string) *Bindings + func (b *Bindings) SetTsPrefix(prefix string) *Bindings + func (b *Bindings) SetTsSuffix(postfix string) *Bindings + func (b *Bindings) ToJSON() (string, error) + func (b *Bindings) WriteModels(modelsDir string) error + type BoundMethod struct + Comments string + Inputs []*Parameter + Method reflect.Value + Name string + Outputs []*Parameter + func (b *BoundMethod) Call(args []interface{}) (interface{}, error) + func (b *BoundMethod) InputCount() int + func (b *BoundMethod) OutputCount() int + func (b *BoundMethod) ParseArgs(args []json.RawMessage) ([]interface{}, error) + type DB struct + func (d *DB) AddMethod(packageName string, structName string, methodName string, ...) + func (d *DB) GetMethod(qualifiedMethodName string) *BoundMethod + func (d *DB) GetMethodFromStore(packageName string, structName string, methodName string) *BoundMethod + func (d *DB) GetObfuscatedMethod(id int) *BoundMethod + func (d *DB) ToJSON() (string, error) + func (d *DB) UpdateObfuscatedCallMap() map[string]int + type ObfuscatedMethod struct + type Parameter struct + Name string + TypeName string + func (p *Parameter) IsError() bool + func (p *Parameter) IsType(typename string) bool