intelligence

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 10 Imported by: 0

README

intelligence-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Subscribe(ctx context.Context, set, t string, out chan *Event) error
	Select(ctx context.Context, set, t string, request interface{}, out interface{}) error
	Query(ctx context.Context, set, t, query string, out interface{}) error
	Create(ctx context.Context, set, t string, data interface{}, out interface{}) error
	Update(ctx context.Context, set, t string, data interface{}, out interface{}) error
	Delete(ctx context.Context, set, t string, data interface{}, out interface{}) error
}

func Connect

func Connect(ctx context.Context, url string, ssl bool) (Client, error)

type Event added in v0.1.2

type Event struct {
	Set    string
	Type   string
	Action string
	Data   []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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