pubprofile

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int

Functions

This section is empty.

Types

type ProfileData

type ProfileData struct {
	Pubkey        string            `thrift:"pubkey,1" db:"pubkey" json:"pubkey"`
	DisplayName   string            `thrift:"displayName,2" db:"displayName" json:"displayName"`
	Dob           int64             `thrift:"dob,3" db:"dob" json:"dob"`
	Gender        int64             `thrift:"gender,4" db:"gender" json:"gender"`
	IntroText     string            `thrift:"introText,5" db:"introText" json:"introText"`
	Avatar        string            `thrift:"avatar,6" db:"avatar" json:"avatar"`
	ImgBackground string            `thrift:"imgBackground,7" db:"imgBackground" json:"imgBackground"`
	Phone         string            `thrift:"phone,8" db:"phone" json:"phone"`
	Education     string            `thrift:"education,9" db:"education" json:"education"`
	Work          string            `thrift:"work,10" db:"work" json:"work"`
	Relationship  int64             `thrift:"relationship,11" db:"relationship" json:"relationship"`
	Accommodation string            `thrift:"accommodation,12" db:"accommodation" json:"accommodation"`
	LinkFB        string            `thrift:"linkFB,13" db:"linkFB" json:"linkFB"`
	LinkGGPlus    string            `thrift:"linkGGPlus,14" db:"linkGGPlus" json:"linkGGPlus"`
	LinkInstagram string            `thrift:"linkInstagram,15" db:"linkInstagram" json:"linkInstagram"`
	Extend        map[string]string `thrift:"extend,16" db:"extend" json:"extend"`
	Image         []string          `thrift:"image,17" db:"image" json:"image"`
	LastModified  int64             `thrift:"lastModified,18" db:"lastModified" json:"lastModified"`
}

Attributes:

  • Pubkey
  • DisplayName
  • Dob
  • Gender
  • IntroText
  • Avatar
  • ImgBackground
  • Phone
  • Education
  • Work
  • Relationship
  • Accommodation
  • LinkFB
  • LinkGGPlus
  • LinkInstagram
  • Extend
  • Image
  • LastModified
var PubProfileServiceGetProfileByPubkeyResult_Success_DEFAULT *ProfileData
var PubProfileServiceGetProfileByUIDResult_Success_DEFAULT *ProfileData

func NewProfileData

func NewProfileData() *ProfileData

func (*ProfileData) GetAccommodation

func (p *ProfileData) GetAccommodation() string

func (*ProfileData) GetAvatar

func (p *ProfileData) GetAvatar() string

func (*ProfileData) GetDisplayName

func (p *ProfileData) GetDisplayName() string

func (*ProfileData) GetDob

func (p *ProfileData) GetDob() int64

func (*ProfileData) GetEducation

func (p *ProfileData) GetEducation() string

func (*ProfileData) GetExtend

func (p *ProfileData) GetExtend() map[string]string

func (*ProfileData) GetGender

func (p *ProfileData) GetGender() int64

func (*ProfileData) GetImage

func (p *ProfileData) GetImage() []string

func (*ProfileData) GetImgBackground

func (p *ProfileData) GetImgBackground() string

func (*ProfileData) GetIntroText

func (p *ProfileData) GetIntroText() string

func (*ProfileData) GetLastModified

func (p *ProfileData) GetLastModified() int64

func (*ProfileData) GetLinkFB

func (p *ProfileData) GetLinkFB() string

func (*ProfileData) GetLinkGGPlus

func (p *ProfileData) GetLinkGGPlus() string

func (*ProfileData) GetLinkInstagram

func (p *ProfileData) GetLinkInstagram() string

func (*ProfileData) GetPhone

func (p *ProfileData) GetPhone() string

func (*ProfileData) GetPubkey

func (p *ProfileData) GetPubkey() string

func (*ProfileData) GetRelationship

func (p *ProfileData) GetRelationship() int64

func (*ProfileData) GetWork

func (p *ProfileData) GetWork() string

func (*ProfileData) Read

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

func (*ProfileData) ReadField1

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

func (*ProfileData) ReadField10

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

func (*ProfileData) ReadField11

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

func (*ProfileData) ReadField12

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

func (*ProfileData) ReadField13

func (p *ProfileData) ReadField13(iprot thrift.TProtocol) error

func (*ProfileData) ReadField14

func (p *ProfileData) ReadField14(iprot thrift.TProtocol) error

func (*ProfileData) ReadField15

func (p *ProfileData) ReadField15(iprot thrift.TProtocol) error

func (*ProfileData) ReadField16

func (p *ProfileData) ReadField16(iprot thrift.TProtocol) error

func (*ProfileData) ReadField17

func (p *ProfileData) ReadField17(iprot thrift.TProtocol) error

func (*ProfileData) ReadField18

func (p *ProfileData) ReadField18(iprot thrift.TProtocol) error

func (*ProfileData) ReadField2

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

func (*ProfileData) ReadField3

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

func (*ProfileData) ReadField4

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

func (*ProfileData) ReadField5

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

func (*ProfileData) ReadField6

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

func (*ProfileData) ReadField7

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

func (*ProfileData) ReadField8

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

func (*ProfileData) ReadField9

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

func (*ProfileData) String

func (p *ProfileData) String() string

func (*ProfileData) Write

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

type PubProfileService

type PubProfileService interface {
	// Parameters:
	//  - Pubkey
	GetProfileByPubkey(ctx context.Context, pubkey string) (r *ProfileData, err error)
	// Parameters:
	//  - UID
	GetProfileByUID(ctx context.Context, uid int64) (r *ProfileData, err error)
}

type PubProfileServiceClient

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

func NewPubProfileServiceClient

func NewPubProfileServiceClient(c thrift.TClient) *PubProfileServiceClient

func NewPubProfileServiceClientProtocol

func NewPubProfileServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PubProfileServiceClient

func (*PubProfileServiceClient) Client_

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

func (*PubProfileServiceClient) GetProfileByPubkey

func (p *PubProfileServiceClient) GetProfileByPubkey(ctx context.Context, pubkey string) (r *ProfileData, err error)

Parameters:

  • Pubkey

func (*PubProfileServiceClient) GetProfileByUID

func (p *PubProfileServiceClient) GetProfileByUID(ctx context.Context, uid int64) (r *ProfileData, err error)

Parameters:

  • UID

type PubProfileServiceGetProfileByPubkeyArgs

type PubProfileServiceGetProfileByPubkeyArgs struct {
	Pubkey string `thrift:"pubkey,1" db:"pubkey" json:"pubkey"`
}

Attributes:

  • Pubkey

func NewPubProfileServiceGetProfileByPubkeyArgs

func NewPubProfileServiceGetProfileByPubkeyArgs() *PubProfileServiceGetProfileByPubkeyArgs

func (*PubProfileServiceGetProfileByPubkeyArgs) GetPubkey

func (*PubProfileServiceGetProfileByPubkeyArgs) Read

func (*PubProfileServiceGetProfileByPubkeyArgs) ReadField1

func (*PubProfileServiceGetProfileByPubkeyArgs) String

func (*PubProfileServiceGetProfileByPubkeyArgs) Write

type PubProfileServiceGetProfileByPubkeyResult

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

Attributes:

  • Success

func NewPubProfileServiceGetProfileByPubkeyResult

func NewPubProfileServiceGetProfileByPubkeyResult() *PubProfileServiceGetProfileByPubkeyResult

func (*PubProfileServiceGetProfileByPubkeyResult) GetSuccess

func (*PubProfileServiceGetProfileByPubkeyResult) IsSetSuccess

func (*PubProfileServiceGetProfileByPubkeyResult) Read

func (*PubProfileServiceGetProfileByPubkeyResult) ReadField0

func (*PubProfileServiceGetProfileByPubkeyResult) String

func (*PubProfileServiceGetProfileByPubkeyResult) Write

type PubProfileServiceGetProfileByUIDArgs

type PubProfileServiceGetProfileByUIDArgs struct {
	UID int64 `thrift:"uid,1" db:"uid" json:"uid"`
}

Attributes:

  • UID

func NewPubProfileServiceGetProfileByUIDArgs

func NewPubProfileServiceGetProfileByUIDArgs() *PubProfileServiceGetProfileByUIDArgs

func (*PubProfileServiceGetProfileByUIDArgs) GetUID

func (*PubProfileServiceGetProfileByUIDArgs) Read

func (*PubProfileServiceGetProfileByUIDArgs) ReadField1

func (*PubProfileServiceGetProfileByUIDArgs) String

func (*PubProfileServiceGetProfileByUIDArgs) Write

type PubProfileServiceGetProfileByUIDResult

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

Attributes:

  • Success

func NewPubProfileServiceGetProfileByUIDResult

func NewPubProfileServiceGetProfileByUIDResult() *PubProfileServiceGetProfileByUIDResult

func (*PubProfileServiceGetProfileByUIDResult) GetSuccess

func (*PubProfileServiceGetProfileByUIDResult) IsSetSuccess

func (p *PubProfileServiceGetProfileByUIDResult) IsSetSuccess() bool

func (*PubProfileServiceGetProfileByUIDResult) Read

func (*PubProfileServiceGetProfileByUIDResult) ReadField0

func (*PubProfileServiceGetProfileByUIDResult) String

func (*PubProfileServiceGetProfileByUIDResult) Write

type PubProfileServiceProcessor

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

func NewPubProfileServiceProcessor

func NewPubProfileServiceProcessor(handler PubProfileService) *PubProfileServiceProcessor

func (*PubProfileServiceProcessor) AddToProcessorMap

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

func (*PubProfileServiceProcessor) GetProcessorFunction

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

func (*PubProfileServiceProcessor) Process

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

func (*PubProfileServiceProcessor) ProcessorMap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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