igotypes

package
v0.0.0-...-44c2662 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(i interface{}) ([]byte, error)

Marshal is a function which attempts to marshal an igo type into it's protobuf byte form

func Unmarshal

func Unmarshal(data []byte, i interface{}) (err error)

Unmarshal is a function which attempts to unmarshal protobuf bytes into its go type

Types

type InterpretRequest

type InterpretRequest struct {
	Input string
}

InterpretRequest represents the network request sent to the igod

type InterpretResponse

type InterpretResponse struct {
	Result InterpretResult
}

InterpretResponse represents the response back from igod

type InterpretResult

type InterpretResult struct {
	EvaluatedTo string
	Info        string
}

InterpretResult represents the result of the response back grom igod

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL