TCommentStorageService

package
v0.0.0-...-c5b983b Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionLink_Href_DEFAULT string
View Source
var ActionLink_Text_DEFAULT string
View Source
var GoUnusedProtection__ int
View Source
var TCommentItem_Actionlinks_DEFAULT []*ActionLink
View Source
var TCommentItem_Parentcommentid_DEFAULT int64
View Source
var TCommentItem_PubkeyTags_DEFAULT []string
View Source
var TCommentItem_UidTags_DEFAULT []string

Functions

This section is empty.

Types

type ActionLink struct {
	Text *string `thrift:"text,1" db:"text" json:"text,omitempty"`
	Href *string `thrift:"href,2" db:"href" json:"href,omitempty"`
}

Attributes:

  • Text
  • Href
func NewActionLink() *ActionLink

func (*ActionLink) GetHref

func (p *ActionLink) GetHref() string

func (*ActionLink) GetText

func (p *ActionLink) GetText() string

func (*ActionLink) IsSetHref

func (p *ActionLink) IsSetHref() bool

func (*ActionLink) IsSetText

func (p *ActionLink) IsSetText() bool

func (*ActionLink) Read

func (p *ActionLink) Read(iprot thrift.TProtocol) error

func (*ActionLink) ReadField1

func (p *ActionLink) ReadField1(iprot thrift.TProtocol) error

func (*ActionLink) ReadField2

func (p *ActionLink) ReadField2(iprot thrift.TProtocol) error

func (*ActionLink) String

func (p *ActionLink) String() string

func (*ActionLink) Write

func (p *ActionLink) Write(oprot thrift.TProtocol) error

type MediaItem

type MediaItem struct {
	Name      string `thrift:"name,1" db:"name" json:"name"`
	MediaType int64  `thrift:"mediaType,2" db:"mediaType" json:"mediaType"`
	URL       string `thrift:"url,3" db:"url" json:"url"`
}

Attributes:

  • Name
  • MediaType
  • URL
var TCommentItem_Mediaitem_DEFAULT *MediaItem

func NewMediaItem

func NewMediaItem() *MediaItem

func (*MediaItem) GetMediaType

func (p *MediaItem) GetMediaType() int64

func (*MediaItem) GetName

func (p *MediaItem) GetName() string

func (*MediaItem) GetURL

func (p *MediaItem) GetURL() string

func (*MediaItem) Read

func (p *MediaItem) Read(iprot thrift.TProtocol) error

func (*MediaItem) ReadField1

func (p *MediaItem) ReadField1(iprot thrift.TProtocol) error

func (*MediaItem) ReadField2

func (p *MediaItem) ReadField2(iprot thrift.TProtocol) error

func (*MediaItem) ReadField3

func (p *MediaItem) ReadField3(iprot thrift.TProtocol) error

func (*MediaItem) String

func (p *MediaItem) String() string

func (*MediaItem) Write

func (p *MediaItem) Write(oprot thrift.TProtocol) error

type TCommentItem

type TCommentItem struct {
	Idcomment       TKey              `thrift:"idcomment,1" db:"idcomment" json:"idcomment"`
	UID             int64             `thrift:"uid,2" db:"uid" json:"uid"`
	Pubkey          string            `thrift:"pubkey,3" db:"pubkey" json:"pubkey"`
	Idpost          int64             `thrift:"idpost,4" db:"idpost" json:"idpost"`
	Content         string            `thrift:"content,5" db:"content" json:"content"`
	Actionlinks     []*ActionLink     `thrift:"actionlinks,6" db:"actionlinks" json:"actionlinks,omitempty"`
	Mediaitem       *MediaItem        `thrift:"mediaitem,7" db:"mediaitem" json:"mediaitem,omitempty"`
	PubkeyTags      []string          `thrift:"pubkeyTags,8" db:"pubkeyTags" json:"pubkeyTags,omitempty"`
	UidTags         []string          `thrift:"uidTags,9" db:"uidTags" json:"uidTags,omitempty"`
	Timestamps      int64             `thrift:"timestamps,10" db:"timestamps" json:"timestamps"`
	Parentcommentid *int64            `thrift:"parentcommentid,11" db:"parentcommentid" json:"parentcommentid,omitempty"`
	MapExtend       map[string]string `thrift:"mapExtend,12" db:"mapExtend" json:"mapExtend"`
}

Attributes:

  • Idcomment
  • UID
  • Pubkey
  • Idpost
  • Content
  • Actionlinks
  • Mediaitem
  • PubkeyTags
  • UidTags
  • Timestamps
  • Parentcommentid
  • MapExtend
var TDataResult__Data_DEFAULT *TCommentItem
var TDataServicePutDataArgs_Data_DEFAULT *TCommentItem

func NewTCommentItem

func NewTCommentItem() *TCommentItem
func (p *TCommentItem) GetActionlinks() []*ActionLink

func (*TCommentItem) GetContent

func (p *TCommentItem) GetContent() string

func (*TCommentItem) GetIdcomment

func (p *TCommentItem) GetIdcomment() TKey

func (*TCommentItem) GetIdpost

func (p *TCommentItem) GetIdpost() int64

func (*TCommentItem) GetMapExtend

func (p *TCommentItem) GetMapExtend() map[string]string

func (*TCommentItem) GetMediaitem

func (p *TCommentItem) GetMediaitem() *MediaItem

func (*TCommentItem) GetParentcommentid

func (p *TCommentItem) GetParentcommentid() int64

func (*TCommentItem) GetPubkey

func (p *TCommentItem) GetPubkey() string

func (*TCommentItem) GetPubkeyTags

func (p *TCommentItem) GetPubkeyTags() []string

func (*TCommentItem) GetTimestamps

func (p *TCommentItem) GetTimestamps() int64

func (*TCommentItem) GetUID

func (p *TCommentItem) GetUID() int64

func (*TCommentItem) GetUidTags

func (p *TCommentItem) GetUidTags() []string
func (p *TCommentItem) IsSetActionlinks() bool

func (*TCommentItem) IsSetMediaitem

func (p *TCommentItem) IsSetMediaitem() bool

func (*TCommentItem) IsSetParentcommentid

func (p *TCommentItem) IsSetParentcommentid() bool

func (*TCommentItem) IsSetPubkeyTags

func (p *TCommentItem) IsSetPubkeyTags() bool

func (*TCommentItem) IsSetUidTags

func (p *TCommentItem) IsSetUidTags() bool

func (*TCommentItem) Read

func (p *TCommentItem) Read(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField1

func (p *TCommentItem) ReadField1(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField10

func (p *TCommentItem) ReadField10(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField11

func (p *TCommentItem) ReadField11(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField12

func (p *TCommentItem) ReadField12(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField2

func (p *TCommentItem) ReadField2(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField3

func (p *TCommentItem) ReadField3(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField4

func (p *TCommentItem) ReadField4(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField5

func (p *TCommentItem) ReadField5(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField6

func (p *TCommentItem) ReadField6(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField7

func (p *TCommentItem) ReadField7(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField8

func (p *TCommentItem) ReadField8(iprot thrift.TProtocol) error

func (*TCommentItem) ReadField9

func (p *TCommentItem) ReadField9(iprot thrift.TProtocol) error

func (*TCommentItem) String

func (p *TCommentItem) String() string

func (*TCommentItem) Write

func (p *TCommentItem) Write(oprot thrift.TProtocol) error

type TCommentStorageService

type TCommentStorageService interface {
	TDataService
}

type TCommentStorageServiceClient

type TCommentStorageServiceClient struct {
	*TDataServiceClient
}

func NewTCommentStorageServiceClient

func NewTCommentStorageServiceClient(c thrift.TClient) *TCommentStorageServiceClient

func NewTCommentStorageServiceClientProtocol

func NewTCommentStorageServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TCommentStorageServiceClient

type TCommentStorageServiceProcessor

type TCommentStorageServiceProcessor struct {
	*TDataServiceProcessor
}

func NewTCommentStorageServiceProcessor

func NewTCommentStorageServiceProcessor(handler TCommentStorageService) *TCommentStorageServiceProcessor

type TData

type TData *TCommentItem

func TDataPtr

func TDataPtr(v TData) *TData

type TDataResult_

type TDataResult_ struct {
	ErrorCode TErrorCode    `thrift:"errorCode,1" db:"errorCode" json:"errorCode"`
	Data      *TCommentItem `thrift:"data,2" db:"data" json:"data,omitempty"`
}

Attributes:

  • ErrorCode
  • Data
var TDataServiceGetDataResult_Success_DEFAULT *TDataResult_
var TDataServiceRGetDataResult_Success_DEFAULT *TDataResult_

func NewTDataResult_

func NewTDataResult_() *TDataResult_

func (*TDataResult_) GetData

func (p *TDataResult_) GetData() *TCommentItem

func (*TDataResult_) GetErrorCode

func (p *TDataResult_) GetErrorCode() TErrorCode

func (*TDataResult_) IsSetData

func (p *TDataResult_) IsSetData() bool

func (*TDataResult_) Read

func (p *TDataResult_) Read(iprot thrift.TProtocol) error

func (*TDataResult_) ReadField1

func (p *TDataResult_) ReadField1(iprot thrift.TProtocol) error

func (*TDataResult_) ReadField2

func (p *TDataResult_) ReadField2(iprot thrift.TProtocol) error

func (*TDataResult_) String

func (p *TDataResult_) String() string

func (*TDataResult_) Write

func (p *TDataResult_) Write(oprot thrift.TProtocol) error

type TDataService

type TDataService interface {
	// Parameters:
	//  - Key
	GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)
	// Parameters:
	//  - Key
	//  - Data
	PutData(ctx context.Context, key TKey, data *TCommentItem) (r TErrorCode, err error)
	// Parameters:
	//  - ListKey
	GetListData(ctx context.Context, listKey []TKey) (r *TListDataResult_, err error)
	// Parameters:
	//  - Key
	RemoveData(ctx context.Context, key TKey) (r TErrorCode, err error)
}

type TDataServiceClient

type TDataServiceClient struct {
	// contains filtered or unexported fields
}

func NewTDataServiceClient

func NewTDataServiceClient(c thrift.TClient) *TDataServiceClient

func NewTDataServiceClientProtocol

func NewTDataServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceClient

func (*TDataServiceClient) Client_

func (p *TDataServiceClient) Client_() thrift.TClient

func (*TDataServiceClient) GetData

func (p *TDataServiceClient) GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)

Parameters:

  • Key

func (*TDataServiceClient) GetListData

func (p *TDataServiceClient) GetListData(ctx context.Context, listKey []TKey) (r *TListDataResult_, err error)

Parameters:

  • ListKey

func (*TDataServiceClient) PutData

func (p *TDataServiceClient) PutData(ctx context.Context, key TKey, data *TCommentItem) (r TErrorCode, err error)

Parameters:

  • Key
  • Data

func (*TDataServiceClient) RemoveData

func (p *TDataServiceClient) RemoveData(ctx context.Context, key TKey) (r TErrorCode, err error)

Parameters:

  • Key

type TDataServiceGetDataArgs

type TDataServiceGetDataArgs struct {
	Key TKey `thrift:"key,1" db:"key" json:"key"`
}

Attributes:

  • Key

func NewTDataServiceGetDataArgs

func NewTDataServiceGetDataArgs() *TDataServiceGetDataArgs

func (*TDataServiceGetDataArgs) GetKey

func (p *TDataServiceGetDataArgs) GetKey() TKey

func (*TDataServiceGetDataArgs) Read

func (*TDataServiceGetDataArgs) ReadField1

func (p *TDataServiceGetDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServiceGetDataArgs) String

func (p *TDataServiceGetDataArgs) String() string

func (*TDataServiceGetDataArgs) Write

type TDataServiceGetDataResult

type TDataServiceGetDataResult struct {
	Success *TDataResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServiceGetDataResult

func NewTDataServiceGetDataResult() *TDataServiceGetDataResult

func (*TDataServiceGetDataResult) GetSuccess

func (p *TDataServiceGetDataResult) GetSuccess() *TDataResult_

func (*TDataServiceGetDataResult) IsSetSuccess

func (p *TDataServiceGetDataResult) IsSetSuccess() bool

func (*TDataServiceGetDataResult) Read

func (*TDataServiceGetDataResult) ReadField0

func (p *TDataServiceGetDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServiceGetDataResult) String

func (p *TDataServiceGetDataResult) String() string

func (*TDataServiceGetDataResult) Write

type TDataServiceGetListDataArgs

type TDataServiceGetListDataArgs struct {
	ListKey []TKey `thrift:"listKey,1" db:"listKey" json:"listKey"`
}

Attributes:

  • ListKey

func NewTDataServiceGetListDataArgs

func NewTDataServiceGetListDataArgs() *TDataServiceGetListDataArgs

func (*TDataServiceGetListDataArgs) GetListKey

func (p *TDataServiceGetListDataArgs) GetListKey() []TKey

func (*TDataServiceGetListDataArgs) Read

func (*TDataServiceGetListDataArgs) ReadField1

func (p *TDataServiceGetListDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServiceGetListDataArgs) String

func (p *TDataServiceGetListDataArgs) String() string

func (*TDataServiceGetListDataArgs) Write

type TDataServiceGetListDataResult

type TDataServiceGetListDataResult struct {
	Success *TListDataResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServiceGetListDataResult

func NewTDataServiceGetListDataResult() *TDataServiceGetListDataResult

func (*TDataServiceGetListDataResult) GetSuccess

func (*TDataServiceGetListDataResult) IsSetSuccess

func (p *TDataServiceGetListDataResult) IsSetSuccess() bool

func (*TDataServiceGetListDataResult) Read

func (*TDataServiceGetListDataResult) ReadField0

func (p *TDataServiceGetListDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServiceGetListDataResult) String

func (*TDataServiceGetListDataResult) Write

type TDataServiceProcessor

type TDataServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewTDataServiceProcessor

func NewTDataServiceProcessor(handler TDataService) *TDataServiceProcessor

func (*TDataServiceProcessor) AddToProcessorMap

func (p *TDataServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*TDataServiceProcessor) GetProcessorFunction

func (p *TDataServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*TDataServiceProcessor) Process

func (p *TDataServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TDataServiceProcessor) ProcessorMap

func (p *TDataServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type TDataServicePutDataArgs

type TDataServicePutDataArgs struct {
	Key  TKey          `thrift:"key,1" db:"key" json:"key"`
	Data *TCommentItem `thrift:"data,2" db:"data" json:"data"`
}

Attributes:

  • Key
  • Data

func NewTDataServicePutDataArgs

func NewTDataServicePutDataArgs() *TDataServicePutDataArgs

func (*TDataServicePutDataArgs) GetData

func (p *TDataServicePutDataArgs) GetData() *TCommentItem

func (*TDataServicePutDataArgs) GetKey

func (p *TDataServicePutDataArgs) GetKey() TKey

func (*TDataServicePutDataArgs) IsSetData

func (p *TDataServicePutDataArgs) IsSetData() bool

func (*TDataServicePutDataArgs) Read

func (*TDataServicePutDataArgs) ReadField1

func (p *TDataServicePutDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServicePutDataArgs) ReadField2

func (p *TDataServicePutDataArgs) ReadField2(iprot thrift.TProtocol) error

func (*TDataServicePutDataArgs) String

func (p *TDataServicePutDataArgs) String() string

func (*TDataServicePutDataArgs) Write

type TDataServicePutDataResult

type TDataServicePutDataResult struct {
	Success *TErrorCode `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServicePutDataResult

func NewTDataServicePutDataResult() *TDataServicePutDataResult

func (*TDataServicePutDataResult) GetSuccess

func (p *TDataServicePutDataResult) GetSuccess() TErrorCode

func (*TDataServicePutDataResult) IsSetSuccess

func (p *TDataServicePutDataResult) IsSetSuccess() bool

func (*TDataServicePutDataResult) Read

func (*TDataServicePutDataResult) ReadField0

func (p *TDataServicePutDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServicePutDataResult) String

func (p *TDataServicePutDataResult) String() string

func (*TDataServicePutDataResult) Write

type TDataServiceR

type TDataServiceR interface {
	// Parameters:
	//  - Key
	GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)
}

type TDataServiceRClient

type TDataServiceRClient struct {
	// contains filtered or unexported fields
}

func NewTDataServiceRClient

func NewTDataServiceRClient(c thrift.TClient) *TDataServiceRClient

func NewTDataServiceRClientProtocol

func NewTDataServiceRClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TDataServiceRClient

func (*TDataServiceRClient) Client_

func (p *TDataServiceRClient) Client_() thrift.TClient

func (*TDataServiceRClient) GetData

func (p *TDataServiceRClient) GetData(ctx context.Context, key TKey) (r *TDataResult_, err error)

Parameters:

  • Key

type TDataServiceRGetDataArgs

type TDataServiceRGetDataArgs struct {
	Key TKey `thrift:"key,1" db:"key" json:"key"`
}

Attributes:

  • Key

func NewTDataServiceRGetDataArgs

func NewTDataServiceRGetDataArgs() *TDataServiceRGetDataArgs

func (*TDataServiceRGetDataArgs) GetKey

func (p *TDataServiceRGetDataArgs) GetKey() TKey

func (*TDataServiceRGetDataArgs) Read

func (*TDataServiceRGetDataArgs) ReadField1

func (p *TDataServiceRGetDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServiceRGetDataArgs) String

func (p *TDataServiceRGetDataArgs) String() string

func (*TDataServiceRGetDataArgs) Write

type TDataServiceRGetDataResult

type TDataServiceRGetDataResult struct {
	Success *TDataResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServiceRGetDataResult

func NewTDataServiceRGetDataResult() *TDataServiceRGetDataResult

func (*TDataServiceRGetDataResult) GetSuccess

func (p *TDataServiceRGetDataResult) GetSuccess() *TDataResult_

func (*TDataServiceRGetDataResult) IsSetSuccess

func (p *TDataServiceRGetDataResult) IsSetSuccess() bool

func (*TDataServiceRGetDataResult) Read

func (*TDataServiceRGetDataResult) ReadField0

func (p *TDataServiceRGetDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServiceRGetDataResult) String

func (p *TDataServiceRGetDataResult) String() string

func (*TDataServiceRGetDataResult) Write

type TDataServiceRProcessor

type TDataServiceRProcessor struct {
	// contains filtered or unexported fields
}

func NewTDataServiceRProcessor

func NewTDataServiceRProcessor(handler TDataServiceR) *TDataServiceRProcessor

func (*TDataServiceRProcessor) AddToProcessorMap

func (p *TDataServiceRProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*TDataServiceRProcessor) GetProcessorFunction

func (p *TDataServiceRProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*TDataServiceRProcessor) Process

func (p *TDataServiceRProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*TDataServiceRProcessor) ProcessorMap

type TDataServiceRemoveDataArgs

type TDataServiceRemoveDataArgs struct {
	Key TKey `thrift:"key,1" db:"key" json:"key"`
}

Attributes:

  • Key

func NewTDataServiceRemoveDataArgs

func NewTDataServiceRemoveDataArgs() *TDataServiceRemoveDataArgs

func (*TDataServiceRemoveDataArgs) GetKey

func (p *TDataServiceRemoveDataArgs) GetKey() TKey

func (*TDataServiceRemoveDataArgs) Read

func (*TDataServiceRemoveDataArgs) ReadField1

func (p *TDataServiceRemoveDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*TDataServiceRemoveDataArgs) String

func (p *TDataServiceRemoveDataArgs) String() string

func (*TDataServiceRemoveDataArgs) Write

type TDataServiceRemoveDataResult

type TDataServiceRemoveDataResult struct {
	Success *TErrorCode `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewTDataServiceRemoveDataResult

func NewTDataServiceRemoveDataResult() *TDataServiceRemoveDataResult

func (*TDataServiceRemoveDataResult) GetSuccess

func (p *TDataServiceRemoveDataResult) GetSuccess() TErrorCode

func (*TDataServiceRemoveDataResult) IsSetSuccess

func (p *TDataServiceRemoveDataResult) IsSetSuccess() bool

func (*TDataServiceRemoveDataResult) Read

func (*TDataServiceRemoveDataResult) ReadField0

func (p *TDataServiceRemoveDataResult) ReadField0(iprot thrift.TProtocol) error

func (*TDataServiceRemoveDataResult) String

func (*TDataServiceRemoveDataResult) Write

type TErrorCode

type TErrorCode int64
const (
	TErrorCode_EGood        TErrorCode = 0
	TErrorCode_ENotFound    TErrorCode = -1
	TErrorCode_EUnknown     TErrorCode = -2
	TErrorCode_EDataExisted TErrorCode = -3
)
var TDataServicePutDataResult_Success_DEFAULT TErrorCode
var TDataServiceRemoveDataResult_Success_DEFAULT TErrorCode

func TErrorCodeFromString

func TErrorCodeFromString(s string) (TErrorCode, error)

func TErrorCodePtr

func TErrorCodePtr(v TErrorCode) *TErrorCode

func (TErrorCode) MarshalText

func (p TErrorCode) MarshalText() ([]byte, error)

func (*TErrorCode) Scan

func (p *TErrorCode) Scan(value interface{}) error

func (TErrorCode) String

func (p TErrorCode) String() string

func (*TErrorCode) UnmarshalText

func (p *TErrorCode) UnmarshalText(text []byte) error

func (*TErrorCode) Value

func (p *TErrorCode) Value() (driver.Value, error)

type TKey

type TKey int64

func TKeyPtr

func TKeyPtr(v TKey) *TKey

type TListDataResult_

type TListDataResult_ struct {
	ErrorCode TErrorCode      `thrift:"errorCode,1" db:"errorCode" json:"errorCode"`
	ListDatas []*TCommentItem `thrift:"listDatas,2" db:"listDatas" json:"listDatas"`
}

Attributes:

  • ErrorCode
  • ListDatas
var TDataServiceGetListDataResult_Success_DEFAULT *TListDataResult_

func NewTListDataResult_

func NewTListDataResult_() *TListDataResult_

func (*TListDataResult_) GetErrorCode

func (p *TListDataResult_) GetErrorCode() TErrorCode

func (*TListDataResult_) GetListDatas

func (p *TListDataResult_) GetListDatas() []*TCommentItem

func (*TListDataResult_) Read

func (p *TListDataResult_) Read(iprot thrift.TProtocol) error

func (*TListDataResult_) ReadField1

func (p *TListDataResult_) ReadField1(iprot thrift.TProtocol) error

func (*TListDataResult_) ReadField2

func (p *TListDataResult_) ReadField2(iprot thrift.TProtocol) error

func (*TListDataResult_) String

func (p *TListDataResult_) String() string

func (*TListDataResult_) Write

func (p *TListDataResult_) Write(oprot thrift.TProtocol) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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