proto

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0, MIT, Apache-2.0, + 1 more Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GreetingService_AsyncHandler

func GreetingService_AsyncHandler(s GreetingService_Server) pd4.HandlerFunc

func New_GreetingService_Client

func New_GreetingService_Client(endpoint string, opts ...GreetingService_ClientOption) (*client_GreetingService, error)

Types

type Address

type Address struct {
	US *USAddress
	SK *SKAddress

	OtherCountry string
	OtherAddress *AddressLines
}

func (Address) AsBool

func (x Address) AsBool() (bool, error)

func (Address) AsBytes

func (x Address) AsBytes() ([]byte, error)

func (Address) AsFloat

func (x Address) AsFloat() (float64, error)

func (Address) AsInt

func (x Address) AsInt() (int64, error)
func (x Address) AsLink() (pd3.Link, error)

func (Address) AsString

func (x Address) AsString() (string, error)

func (Address) IsAbsent

func (x Address) IsAbsent() bool

func (Address) IsNull

func (x Address) IsNull() bool

func (Address) Kind

func (x Address) Kind() pd3.Kind

func (Address) Length

func (x Address) Length() int64

func (Address) ListIterator

func (x Address) ListIterator() pd3.ListIterator

func (Address) LookupByIndex

func (x Address) LookupByIndex(idx int64) (pd3.Node, error)

func (Address) LookupByNode

func (x Address) LookupByNode(key pd3.Node) (pd3.Node, error)

func (Address) LookupBySegment

func (x Address) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (Address) LookupByString

func (x Address) LookupByString(key string) (pd3.Node, error)

func (Address) MapIterator

func (x Address) MapIterator() pd3.MapIterator

func (Address) Node

func (x Address) Node() pd3.Node

func (*Address) Parse

func (x *Address) Parse(n pd3.Node) error

func (Address) Prototype

func (x Address) Prototype() pd3.NodePrototype

type AddressLines

type AddressLines []pd1.String

func (AddressLines) AsBool

func (v AddressLines) AsBool() (bool, error)

func (AddressLines) AsBytes

func (AddressLines) AsBytes() ([]byte, error)

func (AddressLines) AsFloat

func (AddressLines) AsFloat() (float64, error)

func (AddressLines) AsInt

func (AddressLines) AsInt() (int64, error)
func (AddressLines) AsLink() (pd3.Link, error)

func (AddressLines) AsString

func (AddressLines) AsString() (string, error)

func (AddressLines) IsAbsent

func (AddressLines) IsAbsent() bool

func (AddressLines) IsNull

func (AddressLines) IsNull() bool

func (AddressLines) Kind

func (AddressLines) Kind() pd3.Kind

func (AddressLines) Length

func (v AddressLines) Length() int64

func (AddressLines) ListIterator

func (v AddressLines) ListIterator() pd3.ListIterator

func (AddressLines) LookupByIndex

func (v AddressLines) LookupByIndex(i int64) (pd3.Node, error)

func (AddressLines) LookupByNode

func (AddressLines) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AddressLines) LookupBySegment

func (v AddressLines) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AddressLines) LookupByString

func (AddressLines) LookupByString(string) (pd3.Node, error)

func (AddressLines) MapIterator

func (AddressLines) MapIterator() pd3.MapIterator

func (AddressLines) Node

func (v AddressLines) Node() pd3.Node

func (*AddressLines) Parse

func (v *AddressLines) Parse(n pd3.Node) error

func (AddressLines) Prototype

func (AddressLines) Prototype() pd3.NodePrototype

type AddressLines_ListIterator

type AddressLines_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AddressLines_ListIterator) Done

func (iter *AddressLines_ListIterator) Done() bool

func (*AddressLines_ListIterator) Next

func (iter *AddressLines_ListIterator) Next() (int64, pd3.Node, error)

type Address_MapIterator

type Address_MapIterator struct {
	// contains filtered or unexported fields
}

func (*Address_MapIterator) Done

func (x *Address_MapIterator) Done() bool

func (*Address_MapIterator) Next

func (x *Address_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type AnonInductive4

type AnonInductive4 struct {
	Identify *GreetingService_IdentifyArg
	Hello    *HelloRequest
}

func (AnonInductive4) AsBool

func (x AnonInductive4) AsBool() (bool, error)

func (AnonInductive4) AsBytes

func (x AnonInductive4) AsBytes() ([]byte, error)

func (AnonInductive4) AsFloat

func (x AnonInductive4) AsFloat() (float64, error)

func (AnonInductive4) AsInt

func (x AnonInductive4) AsInt() (int64, error)
func (x AnonInductive4) AsLink() (pd3.Link, error)

func (AnonInductive4) AsString

func (x AnonInductive4) AsString() (string, error)

func (AnonInductive4) IsAbsent

func (x AnonInductive4) IsAbsent() bool

func (AnonInductive4) IsNull

func (x AnonInductive4) IsNull() bool

func (AnonInductive4) Kind

func (x AnonInductive4) Kind() pd3.Kind

func (AnonInductive4) Length

func (x AnonInductive4) Length() int64

func (AnonInductive4) ListIterator

func (x AnonInductive4) ListIterator() pd3.ListIterator

func (AnonInductive4) LookupByIndex

func (x AnonInductive4) LookupByIndex(idx int64) (pd3.Node, error)

func (AnonInductive4) LookupByNode

func (x AnonInductive4) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonInductive4) LookupBySegment

func (x AnonInductive4) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonInductive4) LookupByString

func (x AnonInductive4) LookupByString(key string) (pd3.Node, error)

func (AnonInductive4) MapIterator

func (x AnonInductive4) MapIterator() pd3.MapIterator

func (AnonInductive4) Node

func (x AnonInductive4) Node() pd3.Node

func (*AnonInductive4) Parse

func (x *AnonInductive4) Parse(n pd3.Node) error

func (AnonInductive4) Prototype

func (x AnonInductive4) Prototype() pd3.NodePrototype

type AnonInductive4_MapIterator

type AnonInductive4_MapIterator struct {
	// contains filtered or unexported fields
}

func (*AnonInductive4_MapIterator) Done

func (x *AnonInductive4_MapIterator) Done() bool

func (*AnonInductive4_MapIterator) Next

func (x *AnonInductive4_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type AnonInductive5

type AnonInductive5 struct {
	Identify *GreetingService_IdentifyResult
	Hello    *HelloResponse
	Error    *GreetingService_Error
}

func (AnonInductive5) AsBool

func (x AnonInductive5) AsBool() (bool, error)

func (AnonInductive5) AsBytes

func (x AnonInductive5) AsBytes() ([]byte, error)

func (AnonInductive5) AsFloat

func (x AnonInductive5) AsFloat() (float64, error)

func (AnonInductive5) AsInt

func (x AnonInductive5) AsInt() (int64, error)
func (x AnonInductive5) AsLink() (pd3.Link, error)

func (AnonInductive5) AsString

func (x AnonInductive5) AsString() (string, error)

func (AnonInductive5) IsAbsent

func (x AnonInductive5) IsAbsent() bool

func (AnonInductive5) IsNull

func (x AnonInductive5) IsNull() bool

func (AnonInductive5) Kind

func (x AnonInductive5) Kind() pd3.Kind

func (AnonInductive5) Length

func (x AnonInductive5) Length() int64

func (AnonInductive5) ListIterator

func (x AnonInductive5) ListIterator() pd3.ListIterator

func (AnonInductive5) LookupByIndex

func (x AnonInductive5) LookupByIndex(idx int64) (pd3.Node, error)

func (AnonInductive5) LookupByNode

func (x AnonInductive5) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonInductive5) LookupBySegment

func (x AnonInductive5) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonInductive5) LookupByString

func (x AnonInductive5) LookupByString(key string) (pd3.Node, error)

func (AnonInductive5) MapIterator

func (x AnonInductive5) MapIterator() pd3.MapIterator

func (AnonInductive5) Node

func (x AnonInductive5) Node() pd3.Node

func (*AnonInductive5) Parse

func (x *AnonInductive5) Parse(n pd3.Node) error

func (AnonInductive5) Prototype

func (x AnonInductive5) Prototype() pd3.NodePrototype

type AnonInductive5_MapIterator

type AnonInductive5_MapIterator struct {
	// contains filtered or unexported fields
}

func (*AnonInductive5_MapIterator) Done

func (x *AnonInductive5_MapIterator) Done() bool

func (*AnonInductive5_MapIterator) Next

func (x *AnonInductive5_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type AnonList1

type AnonList1 []pd1.String

func (AnonList1) AsBool

func (v AnonList1) AsBool() (bool, error)

func (AnonList1) AsBytes

func (AnonList1) AsBytes() ([]byte, error)

func (AnonList1) AsFloat

func (AnonList1) AsFloat() (float64, error)

func (AnonList1) AsInt

func (AnonList1) AsInt() (int64, error)
func (AnonList1) AsLink() (pd3.Link, error)

func (AnonList1) AsString

func (AnonList1) AsString() (string, error)

func (AnonList1) IsAbsent

func (AnonList1) IsAbsent() bool

func (AnonList1) IsNull

func (AnonList1) IsNull() bool

func (AnonList1) Kind

func (AnonList1) Kind() pd3.Kind

func (AnonList1) Length

func (v AnonList1) Length() int64

func (AnonList1) ListIterator

func (v AnonList1) ListIterator() pd3.ListIterator

func (AnonList1) LookupByIndex

func (v AnonList1) LookupByIndex(i int64) (pd3.Node, error)

func (AnonList1) LookupByNode

func (AnonList1) LookupByNode(key pd3.Node) (pd3.Node, error)

func (AnonList1) LookupBySegment

func (v AnonList1) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (AnonList1) LookupByString

func (AnonList1) LookupByString(string) (pd3.Node, error)

func (AnonList1) MapIterator

func (AnonList1) MapIterator() pd3.MapIterator

func (AnonList1) Node

func (v AnonList1) Node() pd3.Node

func (*AnonList1) Parse

func (v *AnonList1) Parse(n pd3.Node) error

func (AnonList1) Prototype

func (AnonList1) Prototype() pd3.NodePrototype

type AnonList1_ListIterator

type AnonList1_ListIterator struct {
	// contains filtered or unexported fields
}

func (*AnonList1_ListIterator) Done

func (iter *AnonList1_ListIterator) Done() bool

func (*AnonList1_ListIterator) Next

func (iter *AnonList1_ListIterator) Next() (int64, pd3.Node, error)

type GreetingService_Client

type GreetingService_Client interface {
	Identify(ctx pd7.Context, req *GreetingService_IdentifyArg) ([]*GreetingService_IdentifyResult, error)

	Hello(ctx pd7.Context, req *HelloRequest) ([]*HelloResponse, error)

	Identify_Async(ctx pd7.Context, req *GreetingService_IdentifyArg) (<-chan GreetingService_Identify_AsyncResult, error)

	Hello_Async(ctx pd7.Context, req *HelloRequest) (<-chan GreetingService_Hello_AsyncResult, error)
}

type GreetingService_ClientOption

type GreetingService_ClientOption func(*client_GreetingService) error

func GreetingService_Client_WithHTTPClient

func GreetingService_Client_WithHTTPClient(hc *pd4.Client) GreetingService_ClientOption

type GreetingService_Error

type GreetingService_Error struct {
	Code pd1.String
}

func (GreetingService_Error) AsBool

func (x GreetingService_Error) AsBool() (bool, error)

func (GreetingService_Error) AsBytes

func (x GreetingService_Error) AsBytes() ([]byte, error)

func (GreetingService_Error) AsFloat

func (x GreetingService_Error) AsFloat() (float64, error)

func (GreetingService_Error) AsInt

func (x GreetingService_Error) AsInt() (int64, error)
func (x GreetingService_Error) AsLink() (pd3.Link, error)

func (GreetingService_Error) AsString

func (x GreetingService_Error) AsString() (string, error)

func (GreetingService_Error) IsAbsent

func (x GreetingService_Error) IsAbsent() bool

func (GreetingService_Error) IsNull

func (x GreetingService_Error) IsNull() bool

func (GreetingService_Error) Kind

func (x GreetingService_Error) Kind() pd3.Kind

func (GreetingService_Error) Length

func (x GreetingService_Error) Length() int64

func (GreetingService_Error) ListIterator

func (x GreetingService_Error) ListIterator() pd3.ListIterator

func (GreetingService_Error) LookupByIndex

func (x GreetingService_Error) LookupByIndex(idx int64) (pd3.Node, error)

func (GreetingService_Error) LookupByNode

func (x GreetingService_Error) LookupByNode(key pd3.Node) (pd3.Node, error)

func (GreetingService_Error) LookupBySegment

func (x GreetingService_Error) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (GreetingService_Error) LookupByString

func (x GreetingService_Error) LookupByString(key string) (pd3.Node, error)

func (GreetingService_Error) MapIterator

func (x GreetingService_Error) MapIterator() pd3.MapIterator

func (GreetingService_Error) Node

func (x GreetingService_Error) Node() pd3.Node

func (*GreetingService_Error) Parse

func (x *GreetingService_Error) Parse(n pd3.Node) error

func (GreetingService_Error) Prototype

func (x GreetingService_Error) Prototype() pd3.NodePrototype

type GreetingService_Error_MapIterator

type GreetingService_Error_MapIterator struct {
	// contains filtered or unexported fields
}

func (*GreetingService_Error_MapIterator) Done

func (*GreetingService_Error_MapIterator) Next

func (x *GreetingService_Error_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type GreetingService_Hello_AsyncResult

type GreetingService_Hello_AsyncResult struct {
	Resp *HelloResponse
	Err  error
}

type GreetingService_IdentifyArg

type GreetingService_IdentifyArg struct {
}

func (GreetingService_IdentifyArg) AsBool

func (x GreetingService_IdentifyArg) AsBool() (bool, error)

func (GreetingService_IdentifyArg) AsBytes

func (x GreetingService_IdentifyArg) AsBytes() ([]byte, error)

func (GreetingService_IdentifyArg) AsFloat

func (x GreetingService_IdentifyArg) AsFloat() (float64, error)

func (GreetingService_IdentifyArg) AsInt

func (x GreetingService_IdentifyArg) AsLink() (pd3.Link, error)

func (GreetingService_IdentifyArg) AsString

func (x GreetingService_IdentifyArg) AsString() (string, error)

func (GreetingService_IdentifyArg) IsAbsent

func (x GreetingService_IdentifyArg) IsAbsent() bool

func (GreetingService_IdentifyArg) IsNull

func (x GreetingService_IdentifyArg) IsNull() bool

func (GreetingService_IdentifyArg) Kind

func (GreetingService_IdentifyArg) Length

func (GreetingService_IdentifyArg) ListIterator

func (x GreetingService_IdentifyArg) ListIterator() pd3.ListIterator

func (GreetingService_IdentifyArg) LookupByIndex

func (x GreetingService_IdentifyArg) LookupByIndex(idx int64) (pd3.Node, error)

func (GreetingService_IdentifyArg) LookupByNode

func (x GreetingService_IdentifyArg) LookupByNode(key pd3.Node) (pd3.Node, error)

func (GreetingService_IdentifyArg) LookupBySegment

func (x GreetingService_IdentifyArg) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (GreetingService_IdentifyArg) LookupByString

func (x GreetingService_IdentifyArg) LookupByString(key string) (pd3.Node, error)

func (GreetingService_IdentifyArg) MapIterator

func (GreetingService_IdentifyArg) Node

func (*GreetingService_IdentifyArg) Parse

func (GreetingService_IdentifyArg) Prototype

type GreetingService_IdentifyArg_MapIterator

type GreetingService_IdentifyArg_MapIterator struct {
	// contains filtered or unexported fields
}

func (*GreetingService_IdentifyArg_MapIterator) Done

func (*GreetingService_IdentifyArg_MapIterator) Next

func (x *GreetingService_IdentifyArg_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type GreetingService_IdentifyResult

type GreetingService_IdentifyResult struct {
	Methods AnonList1
}

func (GreetingService_IdentifyResult) AsBool

func (GreetingService_IdentifyResult) AsBytes

func (x GreetingService_IdentifyResult) AsBytes() ([]byte, error)

func (GreetingService_IdentifyResult) AsFloat

func (GreetingService_IdentifyResult) AsInt

func (GreetingService_IdentifyResult) AsString

func (GreetingService_IdentifyResult) IsAbsent

func (x GreetingService_IdentifyResult) IsAbsent() bool

func (GreetingService_IdentifyResult) IsNull

func (GreetingService_IdentifyResult) Kind

func (GreetingService_IdentifyResult) Length

func (GreetingService_IdentifyResult) ListIterator

func (GreetingService_IdentifyResult) LookupByIndex

func (x GreetingService_IdentifyResult) LookupByIndex(idx int64) (pd3.Node, error)

func (GreetingService_IdentifyResult) LookupByNode

func (x GreetingService_IdentifyResult) LookupByNode(key pd3.Node) (pd3.Node, error)

func (GreetingService_IdentifyResult) LookupBySegment

func (x GreetingService_IdentifyResult) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (GreetingService_IdentifyResult) LookupByString

func (x GreetingService_IdentifyResult) LookupByString(key string) (pd3.Node, error)

func (GreetingService_IdentifyResult) MapIterator

func (GreetingService_IdentifyResult) Node

func (*GreetingService_IdentifyResult) Parse

func (GreetingService_IdentifyResult) Prototype

type GreetingService_IdentifyResult_MapIterator

type GreetingService_IdentifyResult_MapIterator struct {
	// contains filtered or unexported fields
}

func (*GreetingService_IdentifyResult_MapIterator) Done

func (*GreetingService_IdentifyResult_MapIterator) Next

func (x *GreetingService_IdentifyResult_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type GreetingService_Identify_AsyncResult

type GreetingService_Identify_AsyncResult struct {
	Resp *GreetingService_IdentifyResult
	Err  error
}

type GreetingService_Server

type GreetingService_Server interface {
	Hello(ctx pd7.Context, req *HelloRequest) (<-chan *GreetingService_Hello_AsyncResult, error)
}

type HelloRequest

type HelloRequest struct {
	Name    pd1.String
	Address Address
}

func (HelloRequest) AsBool

func (x HelloRequest) AsBool() (bool, error)

func (HelloRequest) AsBytes

func (x HelloRequest) AsBytes() ([]byte, error)

func (HelloRequest) AsFloat

func (x HelloRequest) AsFloat() (float64, error)

func (HelloRequest) AsInt

func (x HelloRequest) AsInt() (int64, error)
func (x HelloRequest) AsLink() (pd3.Link, error)

func (HelloRequest) AsString

func (x HelloRequest) AsString() (string, error)

func (HelloRequest) IsAbsent

func (x HelloRequest) IsAbsent() bool

func (HelloRequest) IsNull

func (x HelloRequest) IsNull() bool

func (HelloRequest) Kind

func (x HelloRequest) Kind() pd3.Kind

func (HelloRequest) Length

func (x HelloRequest) Length() int64

func (HelloRequest) ListIterator

func (x HelloRequest) ListIterator() pd3.ListIterator

func (HelloRequest) LookupByIndex

func (x HelloRequest) LookupByIndex(idx int64) (pd3.Node, error)

func (HelloRequest) LookupByNode

func (x HelloRequest) LookupByNode(key pd3.Node) (pd3.Node, error)

func (HelloRequest) LookupBySegment

func (x HelloRequest) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (HelloRequest) LookupByString

func (x HelloRequest) LookupByString(key string) (pd3.Node, error)

func (HelloRequest) MapIterator

func (x HelloRequest) MapIterator() pd3.MapIterator

func (HelloRequest) Node

func (x HelloRequest) Node() pd3.Node

func (*HelloRequest) Parse

func (x *HelloRequest) Parse(n pd3.Node) error

func (HelloRequest) Prototype

func (x HelloRequest) Prototype() pd3.NodePrototype

type HelloRequest_MapIterator

type HelloRequest_MapIterator struct {
	// contains filtered or unexported fields
}

func (*HelloRequest_MapIterator) Done

func (x *HelloRequest_MapIterator) Done() bool

func (*HelloRequest_MapIterator) Next

func (x *HelloRequest_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type HelloResponse

type HelloResponse struct {
	English *pd1.String
	Korean  *pd1.String
}

func (HelloResponse) AsBool

func (x HelloResponse) AsBool() (bool, error)

func (HelloResponse) AsBytes

func (x HelloResponse) AsBytes() ([]byte, error)

func (HelloResponse) AsFloat

func (x HelloResponse) AsFloat() (float64, error)

func (HelloResponse) AsInt

func (x HelloResponse) AsInt() (int64, error)
func (x HelloResponse) AsLink() (pd3.Link, error)

func (HelloResponse) AsString

func (x HelloResponse) AsString() (string, error)

func (HelloResponse) IsAbsent

func (x HelloResponse) IsAbsent() bool

func (HelloResponse) IsNull

func (x HelloResponse) IsNull() bool

func (HelloResponse) Kind

func (x HelloResponse) Kind() pd3.Kind

func (HelloResponse) Length

func (x HelloResponse) Length() int64

func (HelloResponse) ListIterator

func (x HelloResponse) ListIterator() pd3.ListIterator

func (HelloResponse) LookupByIndex

func (x HelloResponse) LookupByIndex(idx int64) (pd3.Node, error)

func (HelloResponse) LookupByNode

func (x HelloResponse) LookupByNode(key pd3.Node) (pd3.Node, error)

func (HelloResponse) LookupBySegment

func (x HelloResponse) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (HelloResponse) LookupByString

func (x HelloResponse) LookupByString(key string) (pd3.Node, error)

func (HelloResponse) MapIterator

func (x HelloResponse) MapIterator() pd3.MapIterator

func (HelloResponse) Node

func (x HelloResponse) Node() pd3.Node

func (*HelloResponse) Parse

func (x *HelloResponse) Parse(n pd3.Node) error

func (HelloResponse) Prototype

func (x HelloResponse) Prototype() pd3.NodePrototype

type SKAddress

type SKAddress struct {
	Street     pd1.String
	City       pd1.String
	Province   pd1.String
	PostalCode pd1.Int
}

func (SKAddress) AsBool

func (x SKAddress) AsBool() (bool, error)

func (SKAddress) AsBytes

func (x SKAddress) AsBytes() ([]byte, error)

func (SKAddress) AsFloat

func (x SKAddress) AsFloat() (float64, error)

func (SKAddress) AsInt

func (x SKAddress) AsInt() (int64, error)
func (x SKAddress) AsLink() (pd3.Link, error)

func (SKAddress) AsString

func (x SKAddress) AsString() (string, error)

func (SKAddress) IsAbsent

func (x SKAddress) IsAbsent() bool

func (SKAddress) IsNull

func (x SKAddress) IsNull() bool

func (SKAddress) Kind

func (x SKAddress) Kind() pd3.Kind

func (SKAddress) Length

func (x SKAddress) Length() int64

func (SKAddress) ListIterator

func (x SKAddress) ListIterator() pd3.ListIterator

func (SKAddress) LookupByIndex

func (x SKAddress) LookupByIndex(idx int64) (pd3.Node, error)

func (SKAddress) LookupByNode

func (x SKAddress) LookupByNode(key pd3.Node) (pd3.Node, error)

func (SKAddress) LookupBySegment

func (x SKAddress) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (SKAddress) LookupByString

func (x SKAddress) LookupByString(key string) (pd3.Node, error)

func (SKAddress) MapIterator

func (x SKAddress) MapIterator() pd3.MapIterator

func (SKAddress) Node

func (x SKAddress) Node() pd3.Node

func (*SKAddress) Parse

func (x *SKAddress) Parse(n pd3.Node) error

func (SKAddress) Prototype

func (x SKAddress) Prototype() pd3.NodePrototype

type SKAddress_MapIterator

type SKAddress_MapIterator struct {
	// contains filtered or unexported fields
}

func (*SKAddress_MapIterator) Done

func (x *SKAddress_MapIterator) Done() bool

func (*SKAddress_MapIterator) Next

func (x *SKAddress_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

type State

type State struct {
	CA    *StateCA
	NY    *StateNY
	Other *pd1.String
}

func (State) AsBool

func (x State) AsBool() (bool, error)

func (State) AsBytes

func (x State) AsBytes() ([]byte, error)

func (State) AsFloat

func (x State) AsFloat() (float64, error)

func (State) AsInt

func (x State) AsInt() (int64, error)
func (x State) AsLink() (pd3.Link, error)

func (State) AsString

func (x State) AsString() (string, error)

func (State) IsAbsent

func (x State) IsAbsent() bool

func (State) IsNull

func (x State) IsNull() bool

func (State) Kind

func (x State) Kind() pd3.Kind

func (State) Length

func (x State) Length() int64

func (State) ListIterator

func (x State) ListIterator() pd3.ListIterator

func (State) LookupByIndex

func (x State) LookupByIndex(idx int64) (pd3.Node, error)

func (State) LookupByNode

func (x State) LookupByNode(key pd3.Node) (pd3.Node, error)

func (State) LookupBySegment

func (x State) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (State) LookupByString

func (x State) LookupByString(key string) (pd3.Node, error)

func (State) MapIterator

func (x State) MapIterator() pd3.MapIterator

func (State) Node

func (x State) Node() pd3.Node

func (*State) Parse

func (x *State) Parse(n pd3.Node) error

func (State) Prototype

func (x State) Prototype() pd3.NodePrototype

type StateCA

type StateCA struct{}

func (StateCA) AsBool

func (v StateCA) AsBool() (bool, error)

func (StateCA) AsBytes

func (StateCA) AsBytes() ([]byte, error)

func (StateCA) AsFloat

func (StateCA) AsFloat() (float64, error)

func (StateCA) AsInt

func (StateCA) AsInt() (int64, error)
func (StateCA) AsLink() (pd3.Link, error)

func (StateCA) AsString

func (StateCA) AsString() (string, error)

func (StateCA) IsAbsent

func (StateCA) IsAbsent() bool

func (StateCA) IsNull

func (StateCA) IsNull() bool

func (StateCA) Kind

func (StateCA) Kind() pd3.Kind

func (StateCA) Length

func (StateCA) Length() int64

func (StateCA) ListIterator

func (StateCA) ListIterator() pd3.ListIterator

func (StateCA) LookupByIndex

func (StateCA) LookupByIndex(idx int64) (pd3.Node, error)

func (StateCA) LookupByNode

func (StateCA) LookupByNode(key pd3.Node) (pd3.Node, error)

func (StateCA) LookupBySegment

func (StateCA) LookupBySegment(_ pd3.PathSegment) (pd3.Node, error)

func (StateCA) LookupByString

func (StateCA) LookupByString(string) (pd3.Node, error)

func (StateCA) MapIterator

func (StateCA) MapIterator() pd3.MapIterator

func (StateCA) Node

func (v StateCA) Node() pd3.Node

func (StateCA) Parse

func (StateCA) Parse(n pd3.Node) error

func (StateCA) Prototype

func (StateCA) Prototype() pd3.NodePrototype

type StateNY

type StateNY struct{}

func (StateNY) AsBool

func (v StateNY) AsBool() (bool, error)

func (StateNY) AsBytes

func (StateNY) AsBytes() ([]byte, error)

func (StateNY) AsFloat

func (StateNY) AsFloat() (float64, error)

func (StateNY) AsInt

func (StateNY) AsInt() (int64, error)
func (StateNY) AsLink() (pd3.Link, error)

func (StateNY) AsString

func (StateNY) AsString() (string, error)

func (StateNY) IsAbsent

func (StateNY) IsAbsent() bool

func (StateNY) IsNull

func (StateNY) IsNull() bool

func (StateNY) Kind

func (StateNY) Kind() pd3.Kind

func (StateNY) Length

func (StateNY) Length() int64

func (StateNY) ListIterator

func (StateNY) ListIterator() pd3.ListIterator

func (StateNY) LookupByIndex

func (StateNY) LookupByIndex(idx int64) (pd3.Node, error)

func (StateNY) LookupByNode

func (StateNY) LookupByNode(key pd3.Node) (pd3.Node, error)

func (StateNY) LookupBySegment

func (StateNY) LookupBySegment(_ pd3.PathSegment) (pd3.Node, error)

func (StateNY) LookupByString

func (StateNY) LookupByString(string) (pd3.Node, error)

func (StateNY) MapIterator

func (StateNY) MapIterator() pd3.MapIterator

func (StateNY) Node

func (v StateNY) Node() pd3.Node

func (StateNY) Parse

func (StateNY) Parse(n pd3.Node) error

func (StateNY) Prototype

func (StateNY) Prototype() pd3.NodePrototype

type USAddress

type USAddress struct {
	Street pd1.String
	City   pd1.String
	State  State
	ZIP    pd1.Int
}

func (USAddress) AsBool

func (x USAddress) AsBool() (bool, error)

func (USAddress) AsBytes

func (x USAddress) AsBytes() ([]byte, error)

func (USAddress) AsFloat

func (x USAddress) AsFloat() (float64, error)

func (USAddress) AsInt

func (x USAddress) AsInt() (int64, error)
func (x USAddress) AsLink() (pd3.Link, error)

func (USAddress) AsString

func (x USAddress) AsString() (string, error)

func (USAddress) IsAbsent

func (x USAddress) IsAbsent() bool

func (USAddress) IsNull

func (x USAddress) IsNull() bool

func (USAddress) Kind

func (x USAddress) Kind() pd3.Kind

func (USAddress) Length

func (x USAddress) Length() int64

func (USAddress) ListIterator

func (x USAddress) ListIterator() pd3.ListIterator

func (USAddress) LookupByIndex

func (x USAddress) LookupByIndex(idx int64) (pd3.Node, error)

func (USAddress) LookupByNode

func (x USAddress) LookupByNode(key pd3.Node) (pd3.Node, error)

func (USAddress) LookupBySegment

func (x USAddress) LookupBySegment(seg pd3.PathSegment) (pd3.Node, error)

func (USAddress) LookupByString

func (x USAddress) LookupByString(key string) (pd3.Node, error)

func (USAddress) MapIterator

func (x USAddress) MapIterator() pd3.MapIterator

func (USAddress) Node

func (x USAddress) Node() pd3.Node

func (*USAddress) Parse

func (x *USAddress) Parse(n pd3.Node) error

func (USAddress) Prototype

func (x USAddress) Prototype() pd3.NodePrototype

type USAddress_MapIterator

type USAddress_MapIterator struct {
	// contains filtered or unexported fields
}

func (*USAddress_MapIterator) Done

func (x *USAddress_MapIterator) Done() bool

func (*USAddress_MapIterator) Next

func (x *USAddress_MapIterator) Next() (key pd3.Node, value pd3.Node, err error)

Jump to

Keyboard shortcuts

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