schema

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCmd

type CreateCmd struct {
	cmds.Cmd
	*ssi.Schema
}

func (CreateCmd) Exec

func (c CreateCmd) Exec(w io.Writer) (r cmds.Result, err error)

func (CreateCmd) Validate

func (c CreateCmd) Validate() error

type CreateResult

type CreateResult struct {
	*ssi.Schema
}

func (CreateResult) JSON

func (r CreateResult) JSON() ([]byte, error)

type GetCmd

type GetCmd struct {
	cmds.Cmd
	ID string
}

func (GetCmd) Exec

func (c GetCmd) Exec(w io.Writer) (r cmds.Result, err error)

func (GetCmd) Validate

func (c GetCmd) Validate() error

type GetResult

type GetResult struct {
	Schema map[string]interface{}
}

func (GetResult) JSON

func (r GetResult) JSON() ([]byte, error)

Jump to

Keyboard shortcuts

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