codec

package
v0.0.0-...-309cb8d Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Copyright 2017 karma.run AG. All rights reserved. Use of this source code is governed by an AGPL license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Available

func Available() []string

func Register

func Register(key string, itr Instantiator)

Types

type Instantiator

type Instantiator func() Interface

type Interface

type Interface interface {
	Decode([]byte, mdl.Model) (val.Value, err.Error)
	Encode(val.Value) []byte
}

func Get

func Get(key string) Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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