conreality.go: github.com/conreality/conreality.go Index | Files

package conreality

import "github.com/conreality/conreality.go"

Package conreality provides the Conreality Software Development Kit (SDK) for Go.

Index

Package Files

conreality.go

Constants

const Version = "0.0.0"

Version contains the current package version, as a string.

type Action Uses

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

Action

func (*Action) Abort Uses

func (action *Action) Abort() error

Abort TODO...

func (*Action) Commit Uses

func (action *Action) Commit() error

Commit TODO...

func (*Action) SendEvent Uses

func (action *Action) SendEvent(predicate string, subject, object *Object) (*Event, error)

SendEvent TODO...

func (*Action) SendMessage Uses

func (action *Action) SendMessage(messageText string) (*Message, error)

SendMessage TODO...

type Asset Uses

type Asset struct {
    Object
}

Asset

type Binary Uses

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

Binary

type Camera Uses

type Camera struct {
    Object
}

Camera

type Client Uses

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

Client

func Connect Uses

func Connect(masterHost string) (*Client, error)

Connect attempts to connect to a local master server.

The returned handle is safe for concurrent use by multiple goroutines and maintains its own internal pool of idle connections. Thus, the Connect function should be called just once. It is rarely necessary to close a handle.

func (*Client) Disconnect Uses

func (client *Client) Disconnect() error

Disconnect closes the connection to the master server.

func (*Client) Login Uses

func (client *Client) Login(agentUUID string, secret string) (*Session, error)

Login TODO...

type Event Uses

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

Event

type Game Uses

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

Game

type Message Uses

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

Message

type Object Uses

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

Object

func NewObject Uses

func NewObject(objectUUID string) *Object

NewObject TODO...

type Player Uses

type Player struct {
    Object
}

Player

type Session Uses

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

Session

func (*Session) Game Uses

func (session *Session) Game() *Game

Game returns the current game.

func (*Session) Logout Uses

func (session *Session) Logout() error

Logout TODO...

func (*Session) NewAction Uses

func (session *Session) NewAction() (*Action, error)

NewAction creates a new transactional action.

type Theater Uses

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

Theater

Package conreality imports 4 packages (graph). Updated 2017-09-04. Refresh now. Tools for package owners.