parser

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind int
const (
	SendKind Kind = iota + 1
)

type SendRequest

type SendRequest struct {
	Amount   string
	Currency string
	From, To string
}

func (*SendRequest) Kind

func (s *SendRequest) Kind() Kind

type Statement

type Statement interface {
	Kind() Kind
	// contains filtered or unexported methods
}

func Parse

func Parse(in string) (Statement, error)

func ParseReader

func ParseReader(reader *strings.Reader) (s Statement, err error)

Jump to

Keyboard shortcuts

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