quartz

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterName

func RegisterName(name string, s interface{}) error

func Start

func Start()

Types

type Quartz

type Quartz struct {
	Registry *Registry
}

Quartz holds information about exported structs.

func (*Quartz) RegisterName added in v0.2.5

func (q *Quartz) RegisterName(name string, s interface{}) error

RegisterName exports a struct via RPC and generates metadata for each of the struct's methods.

func (*Quartz) Start added in v0.2.5

func (q *Quartz) Start()

Start launches the server.

type Registry added in v0.2.5

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

func (*Registry) GetMetadata added in v0.2.5

func (r *Registry) GetMetadata(_ interface{}, value *map[string]*structMetadata) error

Returns the entire registry. This method is exported via RPC so that the Ruby client can have knowledge about which structs and which methods are exported.

Jump to

Keyboard shortcuts

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