rest

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RestRecordID = "record-id"
)

Rest variable names nolint

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(cliCtx client.Context, r *mux.Router)

RegisterHandlers defines routes that get registered by the main application

Types

type RecordCreateReq

type RecordCreateReq struct {
	BaseReq  rest.BaseReq    `json:"base_req" yaml:"base_req"` // base req
	Contents []types.Content `json:"contents" yaml:"contents"`
	Creator  string          `json:"creator" yaml:"creator"`
}

Jump to

Keyboard shortcuts

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