publish

package
v0.0.0-...-542fe02 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetVideoListResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var PublishActionResponse_StatusMsg_DEFAULT string
View Source
var PublishListResponse_StatusMsg_DEFAULT string

Functions

This section is empty.

Types

type GetVideoListRequest

type GetVideoListRequest struct {
	VideoIds []int64 `thrift:"video_ids,1" frugal:"1,default,list<i64>" json:"video_ids"`
	UserId   int64   `thrift:"user_id,2" frugal:"2,default,i64" json:"user_id"`
}
var PublishServiceGetVideoListArgs_Req_DEFAULT *GetVideoListRequest

func NewGetVideoListRequest

func NewGetVideoListRequest() *GetVideoListRequest

func (*GetVideoListRequest) BLength

func (p *GetVideoListRequest) BLength() int

func (*GetVideoListRequest) DeepEqual

func (p *GetVideoListRequest) DeepEqual(ano *GetVideoListRequest) bool

func (*GetVideoListRequest) FastRead

func (p *GetVideoListRequest) FastRead(buf []byte) (int, error)

func (*GetVideoListRequest) FastReadField1

func (p *GetVideoListRequest) FastReadField1(buf []byte) (int, error)

func (*GetVideoListRequest) FastReadField2

func (p *GetVideoListRequest) FastReadField2(buf []byte) (int, error)

func (*GetVideoListRequest) FastWrite

func (p *GetVideoListRequest) FastWrite(buf []byte) int

for compatibility

func (*GetVideoListRequest) FastWriteNocopy

func (p *GetVideoListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetVideoListRequest) Field1DeepEqual

func (p *GetVideoListRequest) Field1DeepEqual(src []int64) bool

func (*GetVideoListRequest) Field2DeepEqual

func (p *GetVideoListRequest) Field2DeepEqual(src int64) bool

func (*GetVideoListRequest) GetUserId

func (p *GetVideoListRequest) GetUserId() (v int64)

func (*GetVideoListRequest) GetVideoIds

func (p *GetVideoListRequest) GetVideoIds() (v []int64)

func (*GetVideoListRequest) InitDefault

func (p *GetVideoListRequest) InitDefault()

func (*GetVideoListRequest) Read

func (p *GetVideoListRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetVideoListRequest) ReadField1

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

func (*GetVideoListRequest) ReadField2

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

func (*GetVideoListRequest) SetUserId

func (p *GetVideoListRequest) SetUserId(val int64)

func (*GetVideoListRequest) SetVideoIds

func (p *GetVideoListRequest) SetVideoIds(val []int64)

func (*GetVideoListRequest) String

func (p *GetVideoListRequest) String() string

func (*GetVideoListRequest) Write

func (p *GetVideoListRequest) Write(oprot thrift.TProtocol) (err error)

type GetVideoListResponse

type GetVideoListResponse struct {
	StatusCode int32    `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string  `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	VideoList  []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"`
}
var PublishServiceGetVideoListResult_Success_DEFAULT *GetVideoListResponse

func NewGetVideoListResponse

func NewGetVideoListResponse() *GetVideoListResponse

func (*GetVideoListResponse) BLength

func (p *GetVideoListResponse) BLength() int

func (*GetVideoListResponse) DeepEqual

func (p *GetVideoListResponse) DeepEqual(ano *GetVideoListResponse) bool

func (*GetVideoListResponse) FastRead

func (p *GetVideoListResponse) FastRead(buf []byte) (int, error)

func (*GetVideoListResponse) FastReadField1

func (p *GetVideoListResponse) FastReadField1(buf []byte) (int, error)

func (*GetVideoListResponse) FastReadField2

func (p *GetVideoListResponse) FastReadField2(buf []byte) (int, error)

func (*GetVideoListResponse) FastReadField3

func (p *GetVideoListResponse) FastReadField3(buf []byte) (int, error)

func (*GetVideoListResponse) FastWrite

func (p *GetVideoListResponse) FastWrite(buf []byte) int

for compatibility

func (*GetVideoListResponse) FastWriteNocopy

func (p *GetVideoListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetVideoListResponse) Field1DeepEqual

func (p *GetVideoListResponse) Field1DeepEqual(src int32) bool

func (*GetVideoListResponse) Field2DeepEqual

func (p *GetVideoListResponse) Field2DeepEqual(src *string) bool

func (*GetVideoListResponse) Field3DeepEqual

func (p *GetVideoListResponse) Field3DeepEqual(src []*Video) bool

func (*GetVideoListResponse) GetStatusCode

func (p *GetVideoListResponse) GetStatusCode() (v int32)

func (*GetVideoListResponse) GetStatusMsg

func (p *GetVideoListResponse) GetStatusMsg() (v string)

func (*GetVideoListResponse) GetVideoList

func (p *GetVideoListResponse) GetVideoList() (v []*Video)

func (*GetVideoListResponse) InitDefault

func (p *GetVideoListResponse) InitDefault()

func (*GetVideoListResponse) IsSetStatusMsg

func (p *GetVideoListResponse) IsSetStatusMsg() bool

func (*GetVideoListResponse) Read

func (p *GetVideoListResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetVideoListResponse) ReadField1

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

func (*GetVideoListResponse) ReadField2

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

func (*GetVideoListResponse) ReadField3

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

func (*GetVideoListResponse) SetStatusCode

func (p *GetVideoListResponse) SetStatusCode(val int32)

func (*GetVideoListResponse) SetStatusMsg

func (p *GetVideoListResponse) SetStatusMsg(val *string)

func (*GetVideoListResponse) SetVideoList

func (p *GetVideoListResponse) SetVideoList(val []*Video)

func (*GetVideoListResponse) String

func (p *GetVideoListResponse) String() string

func (*GetVideoListResponse) Write

func (p *GetVideoListResponse) Write(oprot thrift.TProtocol) (err error)

type PublishActionRequest

type PublishActionRequest struct {
	Token  string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	Data   []byte `thrift:"data,2" frugal:"2,default,binary" json:"data"`
	Title  string `thrift:"title,3" frugal:"3,default,string" json:"title"`
	UserId int64  `thrift:"user_id,4" frugal:"4,default,i64" json:"user_id"`
}
var PublishServicePublishActionArgs_Req_DEFAULT *PublishActionRequest

func NewPublishActionRequest

func NewPublishActionRequest() *PublishActionRequest

func (*PublishActionRequest) BLength

func (p *PublishActionRequest) BLength() int

func (*PublishActionRequest) DeepEqual

func (p *PublishActionRequest) DeepEqual(ano *PublishActionRequest) bool

func (*PublishActionRequest) FastRead

func (p *PublishActionRequest) FastRead(buf []byte) (int, error)

func (*PublishActionRequest) FastReadField1

func (p *PublishActionRequest) FastReadField1(buf []byte) (int, error)

func (*PublishActionRequest) FastReadField2

func (p *PublishActionRequest) FastReadField2(buf []byte) (int, error)

func (*PublishActionRequest) FastReadField3

func (p *PublishActionRequest) FastReadField3(buf []byte) (int, error)

func (*PublishActionRequest) FastReadField4

func (p *PublishActionRequest) FastReadField4(buf []byte) (int, error)

func (*PublishActionRequest) FastWrite

func (p *PublishActionRequest) FastWrite(buf []byte) int

for compatibility

func (*PublishActionRequest) FastWriteNocopy

func (p *PublishActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PublishActionRequest) Field1DeepEqual

func (p *PublishActionRequest) Field1DeepEqual(src string) bool

func (*PublishActionRequest) Field2DeepEqual

func (p *PublishActionRequest) Field2DeepEqual(src []byte) bool

func (*PublishActionRequest) Field3DeepEqual

func (p *PublishActionRequest) Field3DeepEqual(src string) bool

func (*PublishActionRequest) Field4DeepEqual

func (p *PublishActionRequest) Field4DeepEqual(src int64) bool

func (*PublishActionRequest) GetData

func (p *PublishActionRequest) GetData() (v []byte)

func (*PublishActionRequest) GetTitle

func (p *PublishActionRequest) GetTitle() (v string)

func (*PublishActionRequest) GetToken

func (p *PublishActionRequest) GetToken() (v string)

func (*PublishActionRequest) GetUserId

func (p *PublishActionRequest) GetUserId() (v int64)

func (*PublishActionRequest) InitDefault

func (p *PublishActionRequest) InitDefault()

func (*PublishActionRequest) Read

func (p *PublishActionRequest) Read(iprot thrift.TProtocol) (err error)

func (*PublishActionRequest) ReadField1

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

func (*PublishActionRequest) ReadField2

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

func (*PublishActionRequest) ReadField3

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

func (*PublishActionRequest) ReadField4

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

func (*PublishActionRequest) SetData

func (p *PublishActionRequest) SetData(val []byte)

func (*PublishActionRequest) SetTitle

func (p *PublishActionRequest) SetTitle(val string)

func (*PublishActionRequest) SetToken

func (p *PublishActionRequest) SetToken(val string)

func (*PublishActionRequest) SetUserId

func (p *PublishActionRequest) SetUserId(val int64)

func (*PublishActionRequest) String

func (p *PublishActionRequest) String() string

func (*PublishActionRequest) Write

func (p *PublishActionRequest) Write(oprot thrift.TProtocol) (err error)

type PublishActionResponse

type PublishActionResponse struct {
	StatusCode int32   `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
}
var PublishServicePublishActionResult_Success_DEFAULT *PublishActionResponse

func NewPublishActionResponse

func NewPublishActionResponse() *PublishActionResponse

func (*PublishActionResponse) BLength

func (p *PublishActionResponse) BLength() int

func (*PublishActionResponse) DeepEqual

func (*PublishActionResponse) FastRead

func (p *PublishActionResponse) FastRead(buf []byte) (int, error)

func (*PublishActionResponse) FastReadField1

func (p *PublishActionResponse) FastReadField1(buf []byte) (int, error)

func (*PublishActionResponse) FastReadField2

func (p *PublishActionResponse) FastReadField2(buf []byte) (int, error)

func (*PublishActionResponse) FastWrite

func (p *PublishActionResponse) FastWrite(buf []byte) int

for compatibility

func (*PublishActionResponse) FastWriteNocopy

func (p *PublishActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PublishActionResponse) Field1DeepEqual

func (p *PublishActionResponse) Field1DeepEqual(src int32) bool

func (*PublishActionResponse) Field2DeepEqual

func (p *PublishActionResponse) Field2DeepEqual(src *string) bool

func (*PublishActionResponse) GetStatusCode

func (p *PublishActionResponse) GetStatusCode() (v int32)

func (*PublishActionResponse) GetStatusMsg

func (p *PublishActionResponse) GetStatusMsg() (v string)

func (*PublishActionResponse) InitDefault

func (p *PublishActionResponse) InitDefault()

func (*PublishActionResponse) IsSetStatusMsg

func (p *PublishActionResponse) IsSetStatusMsg() bool

func (*PublishActionResponse) Read

func (p *PublishActionResponse) Read(iprot thrift.TProtocol) (err error)

func (*PublishActionResponse) ReadField1

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

func (*PublishActionResponse) ReadField2

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

func (*PublishActionResponse) SetStatusCode

func (p *PublishActionResponse) SetStatusCode(val int32)

func (*PublishActionResponse) SetStatusMsg

func (p *PublishActionResponse) SetStatusMsg(val *string)

func (*PublishActionResponse) String

func (p *PublishActionResponse) String() string

func (*PublishActionResponse) Write

func (p *PublishActionResponse) Write(oprot thrift.TProtocol) (err error)

type PublishListRequest

type PublishListRequest struct {
	UserId int64  `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	Token  string `thrift:"token,2" frugal:"2,default,string" json:"token"`
}
var PublishServicePublishListArgs_Req_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 string) bool

func (*PublishListRequest) GetToken

func (p *PublishListRequest) GetToken() (v string)

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) SetToken

func (p *PublishListRequest) SetToken(val string)

func (*PublishListRequest) SetUserId

func (p *PublishListRequest) SetUserId(val int64)

func (*PublishListRequest) String

func (p *PublishListRequest) String() string

func (*PublishListRequest) Write

func (p *PublishListRequest) Write(oprot thrift.TProtocol) (err error)

type PublishListResponse

type PublishListResponse struct {
	StatusCode int32    `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string  `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	VideoList  []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"`
}
var PublishServicePublishListResult_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) FastReadField3

func (p *PublishListResponse) FastReadField3(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 int32) bool

func (*PublishListResponse) Field2DeepEqual

func (p *PublishListResponse) Field2DeepEqual(src *string) bool

func (*PublishListResponse) Field3DeepEqual

func (p *PublishListResponse) Field3DeepEqual(src []*Video) bool

func (*PublishListResponse) GetStatusCode

func (p *PublishListResponse) GetStatusCode() (v int32)

func (*PublishListResponse) GetStatusMsg

func (p *PublishListResponse) GetStatusMsg() (v string)

func (*PublishListResponse) GetVideoList

func (p *PublishListResponse) GetVideoList() (v []*Video)

func (*PublishListResponse) InitDefault

func (p *PublishListResponse) InitDefault()

func (*PublishListResponse) IsSetStatusMsg

func (p *PublishListResponse) IsSetStatusMsg() 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) ReadField3

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

func (*PublishListResponse) SetStatusCode

func (p *PublishListResponse) SetStatusCode(val int32)

func (*PublishListResponse) SetStatusMsg

func (p *PublishListResponse) SetStatusMsg(val *string)

func (*PublishListResponse) SetVideoList

func (p *PublishListResponse) SetVideoList(val []*Video)

func (*PublishListResponse) String

func (p *PublishListResponse) String() string

func (*PublishListResponse) Write

func (p *PublishListResponse) Write(oprot thrift.TProtocol) (err error)

type PublishService

type PublishService interface {
	PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)

	PublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)

	GetVideoList(ctx context.Context, req *GetVideoListRequest) (r *GetVideoListResponse, err error)
}

type PublishServiceClient

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

func NewPublishServiceClient

func NewPublishServiceClient(c thrift.TClient) *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) GetVideoList

func (*PublishServiceClient) PublishAction

func (*PublishServiceClient) PublishList

type PublishServiceGetVideoListArgs

type PublishServiceGetVideoListArgs struct {
	Req *GetVideoListRequest `thrift:"req,1" frugal:"1,default,GetVideoListRequest" json:"req"`
}

func NewPublishServiceGetVideoListArgs

func NewPublishServiceGetVideoListArgs() *PublishServiceGetVideoListArgs

func (*PublishServiceGetVideoListArgs) BLength

func (p *PublishServiceGetVideoListArgs) BLength() int

func (*PublishServiceGetVideoListArgs) DeepEqual

func (*PublishServiceGetVideoListArgs) FastRead

func (p *PublishServiceGetVideoListArgs) FastRead(buf []byte) (int, error)

func (*PublishServiceGetVideoListArgs) FastReadField1

func (p *PublishServiceGetVideoListArgs) FastReadField1(buf []byte) (int, error)

func (*PublishServiceGetVideoListArgs) FastWrite

func (p *PublishServiceGetVideoListArgs) FastWrite(buf []byte) int

for compatibility

func (*PublishServiceGetVideoListArgs) FastWriteNocopy

func (p *PublishServiceGetVideoListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PublishServiceGetVideoListArgs) Field1DeepEqual

func (p *PublishServiceGetVideoListArgs) Field1DeepEqual(src *GetVideoListRequest) bool

func (*PublishServiceGetVideoListArgs) GetFirstArgument

func (p *PublishServiceGetVideoListArgs) GetFirstArgument() interface{}

func (*PublishServiceGetVideoListArgs) GetReq

func (*PublishServiceGetVideoListArgs) InitDefault

func (p *PublishServiceGetVideoListArgs) InitDefault()

func (*PublishServiceGetVideoListArgs) IsSetReq

func (p *PublishServiceGetVideoListArgs) IsSetReq() bool

func (*PublishServiceGetVideoListArgs) Read

func (*PublishServiceGetVideoListArgs) ReadField1

func (*PublishServiceGetVideoListArgs) SetReq

func (*PublishServiceGetVideoListArgs) String

func (*PublishServiceGetVideoListArgs) Write

func (p *PublishServiceGetVideoListArgs) Write(oprot thrift.TProtocol) (err error)

type PublishServiceGetVideoListResult

type PublishServiceGetVideoListResult struct {
	Success *GetVideoListResponse `thrift:"success,0,optional" frugal:"0,optional,GetVideoListResponse" json:"success,omitempty"`
}

func NewPublishServiceGetVideoListResult

func NewPublishServiceGetVideoListResult() *PublishServiceGetVideoListResult

func (*PublishServiceGetVideoListResult) BLength

func (*PublishServiceGetVideoListResult) DeepEqual

func (*PublishServiceGetVideoListResult) FastRead

func (p *PublishServiceGetVideoListResult) FastRead(buf []byte) (int, error)

func (*PublishServiceGetVideoListResult) FastReadField0

func (p *PublishServiceGetVideoListResult) FastReadField0(buf []byte) (int, error)

func (*PublishServiceGetVideoListResult) FastWrite

func (p *PublishServiceGetVideoListResult) FastWrite(buf []byte) int

for compatibility

func (*PublishServiceGetVideoListResult) FastWriteNocopy

func (p *PublishServiceGetVideoListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PublishServiceGetVideoListResult) Field0DeepEqual

func (*PublishServiceGetVideoListResult) GetResult

func (p *PublishServiceGetVideoListResult) GetResult() interface{}

func (*PublishServiceGetVideoListResult) GetSuccess

func (*PublishServiceGetVideoListResult) InitDefault

func (p *PublishServiceGetVideoListResult) InitDefault()

func (*PublishServiceGetVideoListResult) IsSetSuccess

func (p *PublishServiceGetVideoListResult) IsSetSuccess() bool

func (*PublishServiceGetVideoListResult) Read

func (*PublishServiceGetVideoListResult) ReadField0

func (*PublishServiceGetVideoListResult) SetSuccess

func (p *PublishServiceGetVideoListResult) SetSuccess(x interface{})

func (*PublishServiceGetVideoListResult) String

func (*PublishServiceGetVideoListResult) Write

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

type PublishServicePublishActionArgs

type PublishServicePublishActionArgs struct {
	Req *PublishActionRequest `thrift:"req,1" frugal:"1,default,PublishActionRequest" json:"req"`
}

func NewPublishServicePublishActionArgs

func NewPublishServicePublishActionArgs() *PublishServicePublishActionArgs

func (*PublishServicePublishActionArgs) BLength

func (p *PublishServicePublishActionArgs) BLength() int

func (*PublishServicePublishActionArgs) DeepEqual

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 (*PublishServicePublishActionArgs) GetFirstArgument

func (p *PublishServicePublishActionArgs) GetFirstArgument() interface{}

func (*PublishServicePublishActionArgs) GetReq

func (*PublishServicePublishActionArgs) InitDefault

func (p *PublishServicePublishActionArgs) InitDefault()

func (*PublishServicePublishActionArgs) IsSetReq

func (p *PublishServicePublishActionArgs) IsSetReq() bool

func (*PublishServicePublishActionArgs) Read

func (*PublishServicePublishActionArgs) ReadField1

func (*PublishServicePublishActionArgs) SetReq

func (*PublishServicePublishActionArgs) String

func (*PublishServicePublishActionArgs) Write

func (p *PublishServicePublishActionArgs) Write(oprot thrift.TProtocol) (err error)

type PublishServicePublishActionResult

type PublishServicePublishActionResult struct {
	Success *PublishActionResponse `thrift:"success,0,optional" frugal:"0,optional,PublishActionResponse" json:"success,omitempty"`
}

func NewPublishServicePublishActionResult

func NewPublishServicePublishActionResult() *PublishServicePublishActionResult

func (*PublishServicePublishActionResult) BLength

func (*PublishServicePublishActionResult) DeepEqual

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 (*PublishServicePublishActionResult) GetResult

func (p *PublishServicePublishActionResult) GetResult() interface{}

func (*PublishServicePublishActionResult) GetSuccess

func (*PublishServicePublishActionResult) InitDefault

func (p *PublishServicePublishActionResult) InitDefault()

func (*PublishServicePublishActionResult) IsSetSuccess

func (p *PublishServicePublishActionResult) IsSetSuccess() bool

func (*PublishServicePublishActionResult) Read

func (*PublishServicePublishActionResult) ReadField0

func (*PublishServicePublishActionResult) SetSuccess

func (p *PublishServicePublishActionResult) SetSuccess(x interface{})

func (*PublishServicePublishActionResult) String

func (*PublishServicePublishActionResult) Write

type PublishServicePublishListArgs

type PublishServicePublishListArgs struct {
	Req *PublishListRequest `thrift:"req,1" frugal:"1,default,PublishListRequest" json:"req"`
}

func NewPublishServicePublishListArgs

func NewPublishServicePublishListArgs() *PublishServicePublishListArgs

func (*PublishServicePublishListArgs) BLength

func (p *PublishServicePublishListArgs) BLength() int

func (*PublishServicePublishListArgs) DeepEqual

func (*PublishServicePublishListArgs) FastRead

func (p *PublishServicePublishListArgs) FastRead(buf []byte) (int, error)

func (*PublishServicePublishListArgs) FastReadField1

func (p *PublishServicePublishListArgs) FastReadField1(buf []byte) (int, error)

func (*PublishServicePublishListArgs) FastWrite

func (p *PublishServicePublishListArgs) FastWrite(buf []byte) int

for compatibility

func (*PublishServicePublishListArgs) FastWriteNocopy

func (p *PublishServicePublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PublishServicePublishListArgs) Field1DeepEqual

func (p *PublishServicePublishListArgs) Field1DeepEqual(src *PublishListRequest) bool

func (*PublishServicePublishListArgs) GetFirstArgument

func (p *PublishServicePublishListArgs) GetFirstArgument() interface{}

func (*PublishServicePublishListArgs) GetReq

func (*PublishServicePublishListArgs) InitDefault

func (p *PublishServicePublishListArgs) InitDefault()

func (*PublishServicePublishListArgs) IsSetReq

func (p *PublishServicePublishListArgs) IsSetReq() bool

func (*PublishServicePublishListArgs) Read

func (p *PublishServicePublishListArgs) Read(iprot thrift.TProtocol) (err error)

func (*PublishServicePublishListArgs) ReadField1

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

func (*PublishServicePublishListArgs) SetReq

func (*PublishServicePublishListArgs) String

func (*PublishServicePublishListArgs) Write

func (p *PublishServicePublishListArgs) Write(oprot thrift.TProtocol) (err error)

type PublishServicePublishListResult

type PublishServicePublishListResult struct {
	Success *PublishListResponse `thrift:"success,0,optional" frugal:"0,optional,PublishListResponse" json:"success,omitempty"`
}

func NewPublishServicePublishListResult

func NewPublishServicePublishListResult() *PublishServicePublishListResult

func (*PublishServicePublishListResult) BLength

func (p *PublishServicePublishListResult) BLength() int

func (*PublishServicePublishListResult) DeepEqual

func (*PublishServicePublishListResult) FastRead

func (p *PublishServicePublishListResult) FastRead(buf []byte) (int, error)

func (*PublishServicePublishListResult) FastReadField0

func (p *PublishServicePublishListResult) FastReadField0(buf []byte) (int, error)

func (*PublishServicePublishListResult) FastWrite

func (p *PublishServicePublishListResult) FastWrite(buf []byte) int

for compatibility

func (*PublishServicePublishListResult) FastWriteNocopy

func (p *PublishServicePublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*PublishServicePublishListResult) Field0DeepEqual

func (p *PublishServicePublishListResult) Field0DeepEqual(src *PublishListResponse) bool

func (*PublishServicePublishListResult) GetResult

func (p *PublishServicePublishListResult) GetResult() interface{}

func (*PublishServicePublishListResult) GetSuccess

func (*PublishServicePublishListResult) InitDefault

func (p *PublishServicePublishListResult) InitDefault()

func (*PublishServicePublishListResult) IsSetSuccess

func (p *PublishServicePublishListResult) IsSetSuccess() bool

func (*PublishServicePublishListResult) Read

func (*PublishServicePublishListResult) ReadField0

func (*PublishServicePublishListResult) SetSuccess

func (p *PublishServicePublishListResult) SetSuccess(x interface{})

func (*PublishServicePublishListResult) String

func (*PublishServicePublishListResult) Write

func (p *PublishServicePublishListResult) Write(oprot thrift.TProtocol) (err error)

type User

type User struct {
	Id              int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Name            string `thrift:"name,2" frugal:"2,default,string" json:"name"`
	FollowCount     int64  `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"`
	FollowerCount   int64  `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"`
	IsFollow        bool   `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"`
	Avatar          string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"`
	BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"`
	Signature       string `thrift:"signature,8" frugal:"8,default,string" json:"signature"`
	TotalFavorited  int64  `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"`
	WorkCount       int64  `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"`
	FavoriteCount   int64  `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"`
}
var Video_Author_DEFAULT *User

func NewUser

func NewUser() *User

func (*User) BLength

func (p *User) BLength() int

func (*User) DeepEqual

func (p *User) DeepEqual(ano *User) bool

func (*User) FastRead

func (p *User) FastRead(buf []byte) (int, error)

func (*User) FastReadField1

func (p *User) FastReadField1(buf []byte) (int, error)

func (*User) FastReadField10

func (p *User) FastReadField10(buf []byte) (int, error)

func (*User) FastReadField11

func (p *User) FastReadField11(buf []byte) (int, error)

func (*User) FastReadField2

func (p *User) FastReadField2(buf []byte) (int, error)

func (*User) FastReadField3

func (p *User) FastReadField3(buf []byte) (int, error)

func (*User) FastReadField4

func (p *User) FastReadField4(buf []byte) (int, error)

func (*User) FastReadField5

func (p *User) FastReadField5(buf []byte) (int, error)

func (*User) FastReadField6

func (p *User) FastReadField6(buf []byte) (int, error)

func (*User) FastReadField7

func (p *User) FastReadField7(buf []byte) (int, error)

func (*User) FastReadField8

func (p *User) FastReadField8(buf []byte) (int, error)

func (*User) FastReadField9

func (p *User) FastReadField9(buf []byte) (int, error)

func (*User) FastWrite

func (p *User) FastWrite(buf []byte) int

for compatibility

func (*User) FastWriteNocopy

func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*User) Field10DeepEqual

func (p *User) Field10DeepEqual(src int64) bool

func (*User) Field11DeepEqual

func (p *User) Field11DeepEqual(src int64) bool

func (*User) Field1DeepEqual

func (p *User) Field1DeepEqual(src int64) bool

func (*User) Field2DeepEqual

func (p *User) Field2DeepEqual(src string) bool

func (*User) Field3DeepEqual

func (p *User) Field3DeepEqual(src int64) bool

func (*User) Field4DeepEqual

func (p *User) Field4DeepEqual(src int64) bool

func (*User) Field5DeepEqual

func (p *User) Field5DeepEqual(src bool) bool

func (*User) Field6DeepEqual

func (p *User) Field6DeepEqual(src string) bool

func (*User) Field7DeepEqual

func (p *User) Field7DeepEqual(src string) bool

func (*User) Field8DeepEqual

func (p *User) Field8DeepEqual(src string) bool

func (*User) Field9DeepEqual

func (p *User) Field9DeepEqual(src int64) bool

func (*User) GetAvatar

func (p *User) GetAvatar() (v string)

func (*User) GetBackgroundImage

func (p *User) GetBackgroundImage() (v string)

func (*User) GetFavoriteCount

func (p *User) GetFavoriteCount() (v int64)

func (*User) GetFollowCount

func (p *User) GetFollowCount() (v int64)

func (*User) GetFollowerCount

func (p *User) GetFollowerCount() (v int64)

func (*User) GetId

func (p *User) GetId() (v int64)

func (*User) GetIsFollow

func (p *User) GetIsFollow() (v bool)

func (*User) GetName

func (p *User) GetName() (v string)

func (*User) GetSignature

func (p *User) GetSignature() (v string)

func (*User) GetTotalFavorited

func (p *User) GetTotalFavorited() (v int64)

func (*User) GetWorkCount

func (p *User) GetWorkCount() (v int64)

func (*User) InitDefault

func (p *User) InitDefault()

func (*User) Read

func (p *User) Read(iprot thrift.TProtocol) (err error)

func (*User) ReadField1

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

func (*User) ReadField10

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

func (*User) ReadField11

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

func (*User) ReadField2

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

func (*User) ReadField3

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

func (*User) ReadField4

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

func (*User) ReadField5

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

func (*User) ReadField6

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

func (*User) ReadField7

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

func (*User) ReadField8

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

func (*User) ReadField9

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

func (*User) SetAvatar

func (p *User) SetAvatar(val string)

func (*User) SetBackgroundImage

func (p *User) SetBackgroundImage(val string)

func (*User) SetFavoriteCount

func (p *User) SetFavoriteCount(val int64)

func (*User) SetFollowCount

func (p *User) SetFollowCount(val int64)

func (*User) SetFollowerCount

func (p *User) SetFollowerCount(val int64)

func (*User) SetId

func (p *User) SetId(val int64)

func (*User) SetIsFollow

func (p *User) SetIsFollow(val bool)

func (*User) SetName

func (p *User) SetName(val string)

func (*User) SetSignature

func (p *User) SetSignature(val string)

func (*User) SetTotalFavorited

func (p *User) SetTotalFavorited(val int64)

func (*User) SetWorkCount

func (p *User) SetWorkCount(val int64)

func (*User) String

func (p *User) String() string

func (*User) Write

func (p *User) Write(oprot thrift.TProtocol) (err error)

type Video

type Video struct {
	Id            int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Author        *User  `thrift:"author,2" frugal:"2,default,User" json:"author"`
	PlayUrl       string `thrift:"play_url,3" frugal:"3,default,string" json:"play_url"`
	CoverUrl      string `thrift:"cover_url,4" frugal:"4,default,string" json:"cover_url"`
	FavoriteCount int64  `thrift:"favorite_count,5" frugal:"5,default,i64" json:"favorite_count"`
	CommentCount  int64  `thrift:"comment_count,6" frugal:"6,default,i64" json:"comment_count"`
	IsFavorite    bool   `thrift:"is_favorite,7" frugal:"7,default,bool" json:"is_favorite"`
	Title         string `thrift:"title,8" frugal:"8,default,string" json:"title"`
}

func NewVideo

func NewVideo() *Video

func (*Video) BLength

func (p *Video) BLength() int

func (*Video) DeepEqual

func (p *Video) DeepEqual(ano *Video) bool

func (*Video) FastRead

func (p *Video) FastRead(buf []byte) (int, error)

func (*Video) FastReadField1

func (p *Video) FastReadField1(buf []byte) (int, error)

func (*Video) FastReadField2

func (p *Video) FastReadField2(buf []byte) (int, error)

func (*Video) FastReadField3

func (p *Video) FastReadField3(buf []byte) (int, error)

func (*Video) FastReadField4

func (p *Video) FastReadField4(buf []byte) (int, error)

func (*Video) FastReadField5

func (p *Video) FastReadField5(buf []byte) (int, error)

func (*Video) FastReadField6

func (p *Video) FastReadField6(buf []byte) (int, error)

func (*Video) FastReadField7

func (p *Video) FastReadField7(buf []byte) (int, error)

func (*Video) FastReadField8

func (p *Video) FastReadField8(buf []byte) (int, error)

func (*Video) FastWrite

func (p *Video) FastWrite(buf []byte) int

for compatibility

func (*Video) FastWriteNocopy

func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Video) Field1DeepEqual

func (p *Video) Field1DeepEqual(src int64) bool

func (*Video) Field2DeepEqual

func (p *Video) Field2DeepEqual(src *User) bool

func (*Video) Field3DeepEqual

func (p *Video) Field3DeepEqual(src string) bool

func (*Video) Field4DeepEqual

func (p *Video) Field4DeepEqual(src string) bool

func (*Video) Field5DeepEqual

func (p *Video) Field5DeepEqual(src int64) bool

func (*Video) Field6DeepEqual

func (p *Video) Field6DeepEqual(src int64) bool

func (*Video) Field7DeepEqual

func (p *Video) Field7DeepEqual(src bool) bool

func (*Video) Field8DeepEqual

func (p *Video) Field8DeepEqual(src string) bool

func (*Video) GetAuthor

func (p *Video) GetAuthor() (v *User)

func (*Video) GetCommentCount

func (p *Video) GetCommentCount() (v int64)

func (*Video) GetCoverUrl

func (p *Video) GetCoverUrl() (v string)

func (*Video) GetFavoriteCount

func (p *Video) GetFavoriteCount() (v int64)

func (*Video) GetId

func (p *Video) GetId() (v int64)

func (*Video) GetIsFavorite

func (p *Video) GetIsFavorite() (v bool)

func (*Video) GetPlayUrl

func (p *Video) GetPlayUrl() (v string)

func (*Video) GetTitle

func (p *Video) GetTitle() (v string)

func (*Video) InitDefault

func (p *Video) InitDefault()

func (*Video) IsSetAuthor

func (p *Video) IsSetAuthor() bool

func (*Video) Read

func (p *Video) Read(iprot thrift.TProtocol) (err error)

func (*Video) ReadField1

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

func (*Video) ReadField2

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

func (*Video) ReadField3

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

func (*Video) ReadField4

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

func (*Video) ReadField5

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

func (*Video) ReadField6

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

func (*Video) ReadField7

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

func (*Video) ReadField8

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

func (*Video) SetAuthor

func (p *Video) SetAuthor(val *User)

func (*Video) SetCommentCount

func (p *Video) SetCommentCount(val int64)

func (*Video) SetCoverUrl

func (p *Video) SetCoverUrl(val string)

func (*Video) SetFavoriteCount

func (p *Video) SetFavoriteCount(val int64)

func (*Video) SetId

func (p *Video) SetId(val int64)

func (*Video) SetIsFavorite

func (p *Video) SetIsFavorite(val bool)

func (*Video) SetPlayUrl

func (p *Video) SetPlayUrl(val string)

func (*Video) SetTitle

func (p *Video) SetTitle(val string)

func (*Video) String

func (p *Video) String() string

func (*Video) Write

func (p *Video) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.6.2.
Code generated by Kitex v0.6.2.

Jump to

Keyboard shortcuts

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