sdk

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

Build Status Coverage Status Go Report Card GoDoc

C3 SDK-GO

The golang sdk for c3

Usage

TODO

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrMethodAlreadyRegistred ...
	ErrMethodAlreadyRegistred = errors.New("method already registered")
)

Functions

This section is empty.

Types

type C3

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

C3 ...

func NewC3

func NewC3() *C3

NewC3 ...

func (*C3) Process

func (c3 *C3) Process(payload []byte) error

Process ...

func (*C3) RegisterMethod

func (c3 *C3) RegisterMethod(methodName string, types []string, ifn interface{}) error

RegisterMethod ...

func (*C3) Serve

func (c3 *C3) Serve()

Serve ...

func (*C3) State

func (c3 *C3) State() *State

State ...

type State

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

State ...

func (*State) Get

func (s *State) Get(key string) string

Get ... TODO: accept interfaces

func (*State) Set

func (s *State) Set(key, value string) error

Set ... TODO: accept interfaces

Jump to

Keyboard shortcuts

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