configuration

package
v0.1.116 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key string

type SetConfigRequest

type SetConfigRequest struct {
	Key   string `bson:"key" json:"key,omitempty"`     //incoming key requested by client
	Value string `bson:"value" json:"value,omitempty"` //incoming value requested by client
	// contains filtered or unexported fields
}

SetConfigRequest is for SMA processing of incoming (PUT) requests to Set Config.

func (SetConfigRequest) String

func (sc SetConfigRequest) String() string

* To String function for SetConfigRequest struct

func (*SetConfigRequest) UnmarshalJSON

func (sc *SetConfigRequest) UnmarshalJSON(data []byte) error

Implements unmarshaling of JSON string to SetConfigRequest type instance

func (SetConfigRequest) Validate

func (sc SetConfigRequest) Validate() (bool, error)

Validate satisfies the Validator interface

Jump to

Keyboard shortcuts

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