Documentation ¶
Index ¶
- Variables
- type PublishListRequest
- func (p *PublishListRequest) BLength() int
- func (p *PublishListRequest) DeepEqual(ano *PublishListRequest) bool
- func (p *PublishListRequest) FastRead(buf []byte) (int, error)
- func (p *PublishListRequest) FastReadField1(buf []byte) (int, error)
- func (p *PublishListRequest) FastReadField2(buf []byte) (int, error)
- func (p *PublishListRequest) FastWrite(buf []byte) int
- func (p *PublishListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishListRequest) Field1DeepEqual(src int64) bool
- func (p *PublishListRequest) Field2DeepEqual(src int64) bool
- func (p *PublishListRequest) GetQueryId() (v int64)
- func (p *PublishListRequest) GetUserId() (v int64)
- func (p *PublishListRequest) InitDefault()
- func (p *PublishListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishListRequest) SetQueryId(val int64)
- func (p *PublishListRequest) SetUserId(val int64)
- func (p *PublishListRequest) String() string
- func (p *PublishListRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishListResponse
- func (p *PublishListResponse) BLength() int
- func (p *PublishListResponse) DeepEqual(ano *PublishListResponse) bool
- func (p *PublishListResponse) FastRead(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField1(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField2(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField4(buf []byte) (int, error)
- func (p *PublishListResponse) FastWrite(buf []byte) int
- func (p *PublishListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishListResponse) Field1DeepEqual(src int64) bool
- func (p *PublishListResponse) Field2DeepEqual(src *string) bool
- func (p *PublishListResponse) Field4DeepEqual(src []*feed.VideoInfo) bool
- func (p *PublishListResponse) GetStatusCode() (v int64)
- func (p *PublishListResponse) GetStatusMsg() (v string)
- func (p *PublishListResponse) GetVideoList() (v []*feed.VideoInfo)
- func (p *PublishListResponse) InitDefault()
- func (p *PublishListResponse) IsSetStatusMsg() bool
- func (p *PublishListResponse) IsSetVideoList() bool
- func (p *PublishListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishListResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *PublishListResponse) SetStatusCode(val int64)
- func (p *PublishListResponse) SetStatusMsg(val *string)
- func (p *PublishListResponse) SetVideoList(val []*feed.VideoInfo)
- func (p *PublishListResponse) String() string
- func (p *PublishListResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishRequest
- func (p *PublishRequest) BLength() int
- func (p *PublishRequest) DeepEqual(ano *PublishRequest) bool
- func (p *PublishRequest) FastRead(buf []byte) (int, error)
- func (p *PublishRequest) FastReadField1(buf []byte) (int, error)
- func (p *PublishRequest) FastReadField2(buf []byte) (int, error)
- func (p *PublishRequest) FastReadField3(buf []byte) (int, error)
- func (p *PublishRequest) FastWrite(buf []byte) int
- func (p *PublishRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishRequest) Field1DeepEqual(src []byte) bool
- func (p *PublishRequest) Field2DeepEqual(src int64) bool
- func (p *PublishRequest) Field3DeepEqual(src string) bool
- func (p *PublishRequest) GetData() (v []byte)
- func (p *PublishRequest) GetTitle() (v string)
- func (p *PublishRequest) GetUserId() (v int64)
- func (p *PublishRequest) InitDefault()
- func (p *PublishRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *PublishRequest) SetData(val []byte)
- func (p *PublishRequest) SetTitle(val string)
- func (p *PublishRequest) SetUserId(val int64)
- func (p *PublishRequest) String() string
- func (p *PublishRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishResponse
- func (p *PublishResponse) BLength() int
- func (p *PublishResponse) DeepEqual(ano *PublishResponse) bool
- func (p *PublishResponse) FastRead(buf []byte) (int, error)
- func (p *PublishResponse) FastReadField1(buf []byte) (int, error)
- func (p *PublishResponse) FastReadField2(buf []byte) (int, error)
- func (p *PublishResponse) FastWrite(buf []byte) int
- func (p *PublishResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishResponse) Field1DeepEqual(src int64) bool
- func (p *PublishResponse) Field2DeepEqual(src *string) bool
- func (p *PublishResponse) GetStatusCode() (v int64)
- func (p *PublishResponse) GetStatusMsg() (v string)
- func (p *PublishResponse) InitDefault()
- func (p *PublishResponse) IsSetStatusMsg() bool
- func (p *PublishResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishResponse) SetStatusCode(val int64)
- func (p *PublishResponse) SetStatusMsg(val *string)
- func (p *PublishResponse) String() string
- func (p *PublishResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishService
- type PublishServiceClient
- func NewPublishServiceClient(c thrift.TClient) *PublishServiceClient
- func NewPublishServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PublishServiceClient
- func NewPublishServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PublishServiceClient
- func (p *PublishServiceClient) Client_() thrift.TClient
- func (p *PublishServiceClient) GetPublishList(ctx context.Context, request *PublishListRequest) (r *PublishListResponse, err error)
- func (p *PublishServiceClient) PublishAction(ctx context.Context, request *PublishRequest) (r *PublishResponse, err error)
- type PublishServiceGetPublishListArgs
- func (p *PublishServiceGetPublishListArgs) BLength() int
- func (p *PublishServiceGetPublishListArgs) DeepEqual(ano *PublishServiceGetPublishListArgs) bool
- func (p *PublishServiceGetPublishListArgs) FastRead(buf []byte) (int, error)
- func (p *PublishServiceGetPublishListArgs) FastReadField1(buf []byte) (int, error)
- func (p *PublishServiceGetPublishListArgs) FastWrite(buf []byte) int
- func (p *PublishServiceGetPublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServiceGetPublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
- func (p *PublishServiceGetPublishListArgs) GetFirstArgument() interface{}
- func (p *PublishServiceGetPublishListArgs) GetRequest() (v *PublishListRequest)
- func (p *PublishServiceGetPublishListArgs) InitDefault()
- func (p *PublishServiceGetPublishListArgs) IsSetRequest() bool
- func (p *PublishServiceGetPublishListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServiceGetPublishListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServiceGetPublishListArgs) SetRequest(val *PublishListRequest)
- func (p *PublishServiceGetPublishListArgs) String() string
- func (p *PublishServiceGetPublishListArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServiceGetPublishListResult
- func (p *PublishServiceGetPublishListResult) BLength() int
- func (p *PublishServiceGetPublishListResult) DeepEqual(ano *PublishServiceGetPublishListResult) bool
- func (p *PublishServiceGetPublishListResult) FastRead(buf []byte) (int, error)
- func (p *PublishServiceGetPublishListResult) FastReadField0(buf []byte) (int, error)
- func (p *PublishServiceGetPublishListResult) FastWrite(buf []byte) int
- func (p *PublishServiceGetPublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServiceGetPublishListResult) Field0DeepEqual(src *PublishListResponse) bool
- func (p *PublishServiceGetPublishListResult) GetResult() interface{}
- func (p *PublishServiceGetPublishListResult) GetSuccess() (v *PublishListResponse)
- func (p *PublishServiceGetPublishListResult) InitDefault()
- func (p *PublishServiceGetPublishListResult) IsSetSuccess() bool
- func (p *PublishServiceGetPublishListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServiceGetPublishListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PublishServiceGetPublishListResult) SetSuccess(x interface{})
- func (p *PublishServiceGetPublishListResult) String() string
- func (p *PublishServiceGetPublishListResult) Write(oprot thrift.TProtocol) (err error)
- type PublishServiceProcessor
- func (p *PublishServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *PublishServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *PublishServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *PublishServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type PublishServicePublishActionArgs
- func (p *PublishServicePublishActionArgs) BLength() int
- func (p *PublishServicePublishActionArgs) DeepEqual(ano *PublishServicePublishActionArgs) bool
- func (p *PublishServicePublishActionArgs) FastRead(buf []byte) (int, error)
- func (p *PublishServicePublishActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *PublishServicePublishActionArgs) FastWrite(buf []byte) int
- func (p *PublishServicePublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServicePublishActionArgs) Field1DeepEqual(src *PublishRequest) bool
- func (p *PublishServicePublishActionArgs) GetFirstArgument() interface{}
- func (p *PublishServicePublishActionArgs) GetRequest() (v *PublishRequest)
- func (p *PublishServicePublishActionArgs) InitDefault()
- func (p *PublishServicePublishActionArgs) IsSetRequest() bool
- func (p *PublishServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServicePublishActionArgs) SetRequest(val *PublishRequest)
- func (p *PublishServicePublishActionArgs) String() string
- func (p *PublishServicePublishActionArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServicePublishActionResult
- func (p *PublishServicePublishActionResult) BLength() int
- func (p *PublishServicePublishActionResult) DeepEqual(ano *PublishServicePublishActionResult) bool
- func (p *PublishServicePublishActionResult) FastRead(buf []byte) (int, error)
- func (p *PublishServicePublishActionResult) FastReadField0(buf []byte) (int, error)
- func (p *PublishServicePublishActionResult) FastWrite(buf []byte) int
- func (p *PublishServicePublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServicePublishActionResult) Field0DeepEqual(src *PublishResponse) bool
- func (p *PublishServicePublishActionResult) GetResult() interface{}
- func (p *PublishServicePublishActionResult) GetSuccess() (v *PublishResponse)
- func (p *PublishServicePublishActionResult) InitDefault()
- func (p *PublishServicePublishActionResult) IsSetSuccess() bool
- func (p *PublishServicePublishActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PublishServicePublishActionResult) SetSuccess(x interface{})
- func (p *PublishServicePublishActionResult) String() string
- func (p *PublishServicePublishActionResult) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var PublishListResponse_StatusMsg_DEFAULT string
View Source
var PublishListResponse_VideoList_DEFAULT []*feed.VideoInfo
View Source
var PublishResponse_StatusMsg_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type PublishListRequest ¶
type PublishListRequest struct { UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"` QueryId int64 `thrift:"query_id,2" frugal:"2,default,i64" json:"query_id"` }
var PublishServiceGetPublishListArgs_Request_DEFAULT *PublishListRequest
func NewPublishListRequest ¶
func NewPublishListRequest() *PublishListRequest
func (*PublishListRequest) BLength ¶
func (p *PublishListRequest) BLength() int
func (*PublishListRequest) DeepEqual ¶
func (p *PublishListRequest) DeepEqual(ano *PublishListRequest) bool
func (*PublishListRequest) FastRead ¶
func (p *PublishListRequest) FastRead(buf []byte) (int, error)
func (*PublishListRequest) FastReadField1 ¶
func (p *PublishListRequest) FastReadField1(buf []byte) (int, error)
func (*PublishListRequest) FastReadField2 ¶
func (p *PublishListRequest) FastReadField2(buf []byte) (int, error)
func (*PublishListRequest) FastWrite ¶
func (p *PublishListRequest) FastWrite(buf []byte) int
for compatibility
func (*PublishListRequest) FastWriteNocopy ¶
func (p *PublishListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishListRequest) Field1DeepEqual ¶
func (p *PublishListRequest) Field1DeepEqual(src int64) bool
func (*PublishListRequest) Field2DeepEqual ¶
func (p *PublishListRequest) Field2DeepEqual(src int64) bool
func (*PublishListRequest) GetQueryId ¶
func (p *PublishListRequest) GetQueryId() (v int64)
func (*PublishListRequest) GetUserId ¶
func (p *PublishListRequest) GetUserId() (v int64)
func (*PublishListRequest) InitDefault ¶
func (p *PublishListRequest) InitDefault()
func (*PublishListRequest) Read ¶
func (p *PublishListRequest) Read(iprot thrift.TProtocol) (err error)
func (*PublishListRequest) ReadField1 ¶
func (p *PublishListRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishListRequest) ReadField2 ¶
func (p *PublishListRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishListRequest) SetQueryId ¶
func (p *PublishListRequest) SetQueryId(val int64)
func (*PublishListRequest) SetUserId ¶
func (p *PublishListRequest) SetUserId(val int64)
func (*PublishListRequest) String ¶
func (p *PublishListRequest) String() string
type PublishListResponse ¶
type PublishListResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` VideoList []*feed.VideoInfo `thrift:"video_list,4,optional" frugal:"4,optional,list<feed.VideoInfo>" json:"video_list,omitempty"` }
var PublishServiceGetPublishListResult_Success_DEFAULT *PublishListResponse
func NewPublishListResponse ¶
func NewPublishListResponse() *PublishListResponse
func (*PublishListResponse) BLength ¶
func (p *PublishListResponse) BLength() int
func (*PublishListResponse) DeepEqual ¶
func (p *PublishListResponse) DeepEqual(ano *PublishListResponse) bool
func (*PublishListResponse) FastRead ¶
func (p *PublishListResponse) FastRead(buf []byte) (int, error)
func (*PublishListResponse) FastReadField1 ¶
func (p *PublishListResponse) FastReadField1(buf []byte) (int, error)
func (*PublishListResponse) FastReadField2 ¶
func (p *PublishListResponse) FastReadField2(buf []byte) (int, error)
func (*PublishListResponse) FastReadField4 ¶
func (p *PublishListResponse) FastReadField4(buf []byte) (int, error)
func (*PublishListResponse) FastWrite ¶
func (p *PublishListResponse) FastWrite(buf []byte) int
for compatibility
func (*PublishListResponse) FastWriteNocopy ¶
func (p *PublishListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishListResponse) Field1DeepEqual ¶
func (p *PublishListResponse) Field1DeepEqual(src int64) bool
func (*PublishListResponse) Field2DeepEqual ¶
func (p *PublishListResponse) Field2DeepEqual(src *string) bool
func (*PublishListResponse) Field4DeepEqual ¶
func (p *PublishListResponse) Field4DeepEqual(src []*feed.VideoInfo) bool
func (*PublishListResponse) GetStatusCode ¶
func (p *PublishListResponse) GetStatusCode() (v int64)
func (*PublishListResponse) GetStatusMsg ¶
func (p *PublishListResponse) GetStatusMsg() (v string)
func (*PublishListResponse) GetVideoList ¶
func (p *PublishListResponse) GetVideoList() (v []*feed.VideoInfo)
func (*PublishListResponse) InitDefault ¶
func (p *PublishListResponse) InitDefault()
func (*PublishListResponse) IsSetStatusMsg ¶
func (p *PublishListResponse) IsSetStatusMsg() bool
func (*PublishListResponse) IsSetVideoList ¶
func (p *PublishListResponse) IsSetVideoList() bool
func (*PublishListResponse) Read ¶
func (p *PublishListResponse) Read(iprot thrift.TProtocol) (err error)
func (*PublishListResponse) ReadField1 ¶
func (p *PublishListResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishListResponse) ReadField2 ¶
func (p *PublishListResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishListResponse) ReadField4 ¶
func (p *PublishListResponse) ReadField4(iprot thrift.TProtocol) error
func (*PublishListResponse) SetStatusCode ¶
func (p *PublishListResponse) SetStatusCode(val int64)
func (*PublishListResponse) SetStatusMsg ¶
func (p *PublishListResponse) SetStatusMsg(val *string)
func (*PublishListResponse) SetVideoList ¶
func (p *PublishListResponse) SetVideoList(val []*feed.VideoInfo)
func (*PublishListResponse) String ¶
func (p *PublishListResponse) String() string
type PublishRequest ¶
type PublishRequest struct { Data []byte `thrift:"data,1" frugal:"1,default,binary" json:"data"` UserId int64 `thrift:"user_id,2" frugal:"2,default,i64" json:"user_id"` Title string `thrift:"title,3" frugal:"3,default,string" json:"title"` }
var PublishServicePublishActionArgs_Request_DEFAULT *PublishRequest
func NewPublishRequest ¶
func NewPublishRequest() *PublishRequest
func (*PublishRequest) BLength ¶
func (p *PublishRequest) BLength() int
func (*PublishRequest) DeepEqual ¶
func (p *PublishRequest) DeepEqual(ano *PublishRequest) bool
func (*PublishRequest) FastReadField1 ¶
func (p *PublishRequest) FastReadField1(buf []byte) (int, error)
func (*PublishRequest) FastReadField2 ¶
func (p *PublishRequest) FastReadField2(buf []byte) (int, error)
func (*PublishRequest) FastReadField3 ¶
func (p *PublishRequest) FastReadField3(buf []byte) (int, error)
func (*PublishRequest) FastWrite ¶
func (p *PublishRequest) FastWrite(buf []byte) int
for compatibility
func (*PublishRequest) FastWriteNocopy ¶
func (p *PublishRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishRequest) Field1DeepEqual ¶
func (p *PublishRequest) Field1DeepEqual(src []byte) bool
func (*PublishRequest) Field2DeepEqual ¶
func (p *PublishRequest) Field2DeepEqual(src int64) bool
func (*PublishRequest) Field3DeepEqual ¶
func (p *PublishRequest) Field3DeepEqual(src string) bool
func (*PublishRequest) GetData ¶
func (p *PublishRequest) GetData() (v []byte)
func (*PublishRequest) GetTitle ¶
func (p *PublishRequest) GetTitle() (v string)
func (*PublishRequest) GetUserId ¶
func (p *PublishRequest) GetUserId() (v int64)
func (*PublishRequest) InitDefault ¶
func (p *PublishRequest) InitDefault()
func (*PublishRequest) ReadField1 ¶
func (p *PublishRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishRequest) ReadField2 ¶
func (p *PublishRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishRequest) ReadField3 ¶
func (p *PublishRequest) ReadField3(iprot thrift.TProtocol) error
func (*PublishRequest) SetData ¶
func (p *PublishRequest) SetData(val []byte)
func (*PublishRequest) SetTitle ¶
func (p *PublishRequest) SetTitle(val string)
func (*PublishRequest) SetUserId ¶
func (p *PublishRequest) SetUserId(val int64)
func (*PublishRequest) String ¶
func (p *PublishRequest) String() string
type PublishResponse ¶
type PublishResponse struct { StatusCode int64 `thrift:"status_code,1" frugal:"1,default,i64" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` }
var PublishServicePublishActionResult_Success_DEFAULT *PublishResponse
func NewPublishResponse ¶
func NewPublishResponse() *PublishResponse
func (*PublishResponse) BLength ¶
func (p *PublishResponse) BLength() int
func (*PublishResponse) DeepEqual ¶
func (p *PublishResponse) DeepEqual(ano *PublishResponse) bool
func (*PublishResponse) FastReadField1 ¶
func (p *PublishResponse) FastReadField1(buf []byte) (int, error)
func (*PublishResponse) FastReadField2 ¶
func (p *PublishResponse) FastReadField2(buf []byte) (int, error)
func (*PublishResponse) FastWrite ¶
func (p *PublishResponse) FastWrite(buf []byte) int
for compatibility
func (*PublishResponse) FastWriteNocopy ¶
func (p *PublishResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishResponse) Field1DeepEqual ¶
func (p *PublishResponse) Field1DeepEqual(src int64) bool
func (*PublishResponse) Field2DeepEqual ¶
func (p *PublishResponse) Field2DeepEqual(src *string) bool
func (*PublishResponse) GetStatusCode ¶
func (p *PublishResponse) GetStatusCode() (v int64)
func (*PublishResponse) GetStatusMsg ¶
func (p *PublishResponse) GetStatusMsg() (v string)
func (*PublishResponse) InitDefault ¶
func (p *PublishResponse) InitDefault()
func (*PublishResponse) IsSetStatusMsg ¶
func (p *PublishResponse) IsSetStatusMsg() bool
func (*PublishResponse) ReadField1 ¶
func (p *PublishResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishResponse) ReadField2 ¶
func (p *PublishResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishResponse) SetStatusCode ¶
func (p *PublishResponse) SetStatusCode(val int64)
func (*PublishResponse) SetStatusMsg ¶
func (p *PublishResponse) SetStatusMsg(val *string)
func (*PublishResponse) String ¶
func (p *PublishResponse) String() string
type PublishService ¶
type PublishService interface { PublishAction(ctx context.Context, request *PublishRequest) (r *PublishResponse, err error) GetPublishList(ctx context.Context, request *PublishListRequest) (r *PublishListResponse, err error) }
type PublishServiceClient ¶
type PublishServiceClient struct {
// contains filtered or unexported fields
}
func NewPublishServiceClient ¶
func NewPublishServiceClient(c thrift.TClient) *PublishServiceClient
func NewPublishServiceClientFactory ¶
func NewPublishServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PublishServiceClient
func NewPublishServiceClientProtocol ¶
func NewPublishServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PublishServiceClient
func (*PublishServiceClient) Client_ ¶
func (p *PublishServiceClient) Client_() thrift.TClient
func (*PublishServiceClient) GetPublishList ¶
func (p *PublishServiceClient) GetPublishList(ctx context.Context, request *PublishListRequest) (r *PublishListResponse, err error)
func (*PublishServiceClient) PublishAction ¶
func (p *PublishServiceClient) PublishAction(ctx context.Context, request *PublishRequest) (r *PublishResponse, err error)
type PublishServiceGetPublishListArgs ¶
type PublishServiceGetPublishListArgs struct {
Request *PublishListRequest `thrift:"request,1" frugal:"1,default,PublishListRequest" json:"request"`
}
func NewPublishServiceGetPublishListArgs ¶
func NewPublishServiceGetPublishListArgs() *PublishServiceGetPublishListArgs
func (*PublishServiceGetPublishListArgs) BLength ¶
func (p *PublishServiceGetPublishListArgs) BLength() int
func (*PublishServiceGetPublishListArgs) DeepEqual ¶
func (p *PublishServiceGetPublishListArgs) DeepEqual(ano *PublishServiceGetPublishListArgs) bool
func (*PublishServiceGetPublishListArgs) FastRead ¶
func (p *PublishServiceGetPublishListArgs) FastRead(buf []byte) (int, error)
func (*PublishServiceGetPublishListArgs) FastReadField1 ¶
func (p *PublishServiceGetPublishListArgs) FastReadField1(buf []byte) (int, error)
func (*PublishServiceGetPublishListArgs) FastWrite ¶
func (p *PublishServiceGetPublishListArgs) FastWrite(buf []byte) int
for compatibility
func (*PublishServiceGetPublishListArgs) FastWriteNocopy ¶
func (p *PublishServiceGetPublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServiceGetPublishListArgs) Field1DeepEqual ¶
func (p *PublishServiceGetPublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
func (*PublishServiceGetPublishListArgs) GetFirstArgument ¶
func (p *PublishServiceGetPublishListArgs) GetFirstArgument() interface{}
func (*PublishServiceGetPublishListArgs) GetRequest ¶
func (p *PublishServiceGetPublishListArgs) GetRequest() (v *PublishListRequest)
func (*PublishServiceGetPublishListArgs) InitDefault ¶
func (p *PublishServiceGetPublishListArgs) InitDefault()
func (*PublishServiceGetPublishListArgs) IsSetRequest ¶
func (p *PublishServiceGetPublishListArgs) IsSetRequest() bool
func (*PublishServiceGetPublishListArgs) Read ¶
func (p *PublishServiceGetPublishListArgs) Read(iprot thrift.TProtocol) (err error)
func (*PublishServiceGetPublishListArgs) ReadField1 ¶
func (p *PublishServiceGetPublishListArgs) ReadField1(iprot thrift.TProtocol) error
func (*PublishServiceGetPublishListArgs) SetRequest ¶
func (p *PublishServiceGetPublishListArgs) SetRequest(val *PublishListRequest)
func (*PublishServiceGetPublishListArgs) String ¶
func (p *PublishServiceGetPublishListArgs) String() string
type PublishServiceGetPublishListResult ¶
type PublishServiceGetPublishListResult struct {
Success *PublishListResponse `thrift:"success,0,optional" frugal:"0,optional,PublishListResponse" json:"success,omitempty"`
}
func NewPublishServiceGetPublishListResult ¶
func NewPublishServiceGetPublishListResult() *PublishServiceGetPublishListResult
func (*PublishServiceGetPublishListResult) BLength ¶
func (p *PublishServiceGetPublishListResult) BLength() int
func (*PublishServiceGetPublishListResult) DeepEqual ¶
func (p *PublishServiceGetPublishListResult) DeepEqual(ano *PublishServiceGetPublishListResult) bool
func (*PublishServiceGetPublishListResult) FastRead ¶
func (p *PublishServiceGetPublishListResult) FastRead(buf []byte) (int, error)
func (*PublishServiceGetPublishListResult) FastReadField0 ¶
func (p *PublishServiceGetPublishListResult) FastReadField0(buf []byte) (int, error)
func (*PublishServiceGetPublishListResult) FastWrite ¶
func (p *PublishServiceGetPublishListResult) FastWrite(buf []byte) int
for compatibility
func (*PublishServiceGetPublishListResult) FastWriteNocopy ¶
func (p *PublishServiceGetPublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServiceGetPublishListResult) Field0DeepEqual ¶
func (p *PublishServiceGetPublishListResult) Field0DeepEqual(src *PublishListResponse) bool
func (*PublishServiceGetPublishListResult) GetResult ¶
func (p *PublishServiceGetPublishListResult) GetResult() interface{}
func (*PublishServiceGetPublishListResult) GetSuccess ¶
func (p *PublishServiceGetPublishListResult) GetSuccess() (v *PublishListResponse)
func (*PublishServiceGetPublishListResult) InitDefault ¶
func (p *PublishServiceGetPublishListResult) InitDefault()
func (*PublishServiceGetPublishListResult) IsSetSuccess ¶
func (p *PublishServiceGetPublishListResult) IsSetSuccess() bool
func (*PublishServiceGetPublishListResult) Read ¶
func (p *PublishServiceGetPublishListResult) Read(iprot thrift.TProtocol) (err error)
func (*PublishServiceGetPublishListResult) ReadField0 ¶
func (p *PublishServiceGetPublishListResult) ReadField0(iprot thrift.TProtocol) error
func (*PublishServiceGetPublishListResult) SetSuccess ¶
func (p *PublishServiceGetPublishListResult) SetSuccess(x interface{})
func (*PublishServiceGetPublishListResult) String ¶
func (p *PublishServiceGetPublishListResult) String() string
type PublishServiceProcessor ¶
type PublishServiceProcessor struct {
// contains filtered or unexported fields
}
func NewPublishServiceProcessor ¶
func NewPublishServiceProcessor(handler PublishService) *PublishServiceProcessor
func (*PublishServiceProcessor) AddToProcessorMap ¶
func (p *PublishServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*PublishServiceProcessor) GetProcessorFunction ¶
func (p *PublishServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*PublishServiceProcessor) Process ¶
func (p *PublishServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*PublishServiceProcessor) ProcessorMap ¶
func (p *PublishServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type PublishServicePublishActionArgs ¶
type PublishServicePublishActionArgs struct {
Request *PublishRequest `thrift:"request,1" frugal:"1,default,PublishRequest" json:"request"`
}
func NewPublishServicePublishActionArgs ¶
func NewPublishServicePublishActionArgs() *PublishServicePublishActionArgs
func (*PublishServicePublishActionArgs) BLength ¶
func (p *PublishServicePublishActionArgs) BLength() int
func (*PublishServicePublishActionArgs) DeepEqual ¶
func (p *PublishServicePublishActionArgs) DeepEqual(ano *PublishServicePublishActionArgs) bool
func (*PublishServicePublishActionArgs) FastRead ¶
func (p *PublishServicePublishActionArgs) FastRead(buf []byte) (int, error)
func (*PublishServicePublishActionArgs) FastReadField1 ¶
func (p *PublishServicePublishActionArgs) FastReadField1(buf []byte) (int, error)
func (*PublishServicePublishActionArgs) FastWrite ¶
func (p *PublishServicePublishActionArgs) FastWrite(buf []byte) int
for compatibility
func (*PublishServicePublishActionArgs) FastWriteNocopy ¶
func (p *PublishServicePublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServicePublishActionArgs) Field1DeepEqual ¶
func (p *PublishServicePublishActionArgs) Field1DeepEqual(src *PublishRequest) bool
func (*PublishServicePublishActionArgs) GetFirstArgument ¶
func (p *PublishServicePublishActionArgs) GetFirstArgument() interface{}
func (*PublishServicePublishActionArgs) GetRequest ¶
func (p *PublishServicePublishActionArgs) GetRequest() (v *PublishRequest)
func (*PublishServicePublishActionArgs) InitDefault ¶
func (p *PublishServicePublishActionArgs) InitDefault()
func (*PublishServicePublishActionArgs) IsSetRequest ¶
func (p *PublishServicePublishActionArgs) IsSetRequest() bool
func (*PublishServicePublishActionArgs) Read ¶
func (p *PublishServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*PublishServicePublishActionArgs) ReadField1 ¶
func (p *PublishServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*PublishServicePublishActionArgs) SetRequest ¶
func (p *PublishServicePublishActionArgs) SetRequest(val *PublishRequest)
func (*PublishServicePublishActionArgs) String ¶
func (p *PublishServicePublishActionArgs) String() string
type PublishServicePublishActionResult ¶
type PublishServicePublishActionResult struct {
Success *PublishResponse `thrift:"success,0,optional" frugal:"0,optional,PublishResponse" json:"success,omitempty"`
}
func NewPublishServicePublishActionResult ¶
func NewPublishServicePublishActionResult() *PublishServicePublishActionResult
func (*PublishServicePublishActionResult) BLength ¶
func (p *PublishServicePublishActionResult) BLength() int
func (*PublishServicePublishActionResult) DeepEqual ¶
func (p *PublishServicePublishActionResult) DeepEqual(ano *PublishServicePublishActionResult) bool
func (*PublishServicePublishActionResult) FastRead ¶
func (p *PublishServicePublishActionResult) FastRead(buf []byte) (int, error)
func (*PublishServicePublishActionResult) FastReadField0 ¶
func (p *PublishServicePublishActionResult) FastReadField0(buf []byte) (int, error)
func (*PublishServicePublishActionResult) FastWrite ¶
func (p *PublishServicePublishActionResult) FastWrite(buf []byte) int
for compatibility
func (*PublishServicePublishActionResult) FastWriteNocopy ¶
func (p *PublishServicePublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServicePublishActionResult) Field0DeepEqual ¶
func (p *PublishServicePublishActionResult) Field0DeepEqual(src *PublishResponse) bool
func (*PublishServicePublishActionResult) GetResult ¶
func (p *PublishServicePublishActionResult) GetResult() interface{}
func (*PublishServicePublishActionResult) GetSuccess ¶
func (p *PublishServicePublishActionResult) GetSuccess() (v *PublishResponse)
func (*PublishServicePublishActionResult) InitDefault ¶
func (p *PublishServicePublishActionResult) InitDefault()
func (*PublishServicePublishActionResult) IsSetSuccess ¶
func (p *PublishServicePublishActionResult) IsSetSuccess() bool
func (*PublishServicePublishActionResult) Read ¶
func (p *PublishServicePublishActionResult) Read(iprot thrift.TProtocol) (err error)
func (*PublishServicePublishActionResult) ReadField0 ¶
func (p *PublishServicePublishActionResult) ReadField0(iprot thrift.TProtocol) error
func (*PublishServicePublishActionResult) SetSuccess ¶
func (p *PublishServicePublishActionResult) SetSuccess(x interface{})
func (*PublishServicePublishActionResult) String ¶
func (p *PublishServicePublishActionResult) String() string
Click to show internal directories.
Click to hide internal directories.