errfields

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldInfo

type FieldInfo struct {
	Fields               map[string]*StringListValue `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

FieldsInfo is a default representation of field details that conforms REST API Syntax Specification

func (*FieldInfo) AddField

func (m *FieldInfo) AddField(target string, msg string)

func (*FieldInfo) Descriptor

func (*FieldInfo) Descriptor() ([]byte, []int)

func (*FieldInfo) GetFields

func (m *FieldInfo) GetFields() map[string]*StringListValue

func (*FieldInfo) MarshalJSON

func (fi *FieldInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler.

func (*FieldInfo) ProtoMessage

func (*FieldInfo) ProtoMessage()

func (*FieldInfo) Reset

func (m *FieldInfo) Reset()

func (*FieldInfo) String

func (m *FieldInfo) String() string

func (*FieldInfo) UnmarshalJSON

func (fi *FieldInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler.

func (*FieldInfo) XXX_DiscardUnknown

func (m *FieldInfo) XXX_DiscardUnknown()

func (*FieldInfo) XXX_Marshal

func (m *FieldInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldInfo) XXX_Merge

func (dst *FieldInfo) XXX_Merge(src proto.Message)

func (*FieldInfo) XXX_Size

func (m *FieldInfo) XXX_Size() int

func (*FieldInfo) XXX_Unmarshal

func (m *FieldInfo) XXX_Unmarshal(b []byte) error

type StringListValue

type StringListValue struct {
	Values               []string `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringListValue) Descriptor

func (*StringListValue) Descriptor() ([]byte, []int)

func (*StringListValue) GetValues

func (m *StringListValue) GetValues() []string

func (*StringListValue) ProtoMessage

func (*StringListValue) ProtoMessage()

func (*StringListValue) Reset

func (m *StringListValue) Reset()

func (*StringListValue) String

func (m *StringListValue) String() string

func (*StringListValue) XXX_DiscardUnknown

func (m *StringListValue) XXX_DiscardUnknown()

func (*StringListValue) XXX_Marshal

func (m *StringListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringListValue) XXX_Merge

func (dst *StringListValue) XXX_Merge(src proto.Message)

func (*StringListValue) XXX_Size

func (m *StringListValue) XXX_Size() int

func (*StringListValue) XXX_Unmarshal

func (m *StringListValue) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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