當前位置: 首頁>>代碼示例>>Golang>>正文


Golang TProtocol.ReadBool方法代碼示例

本文整理匯總了Golang中git/apache/org/thrift/git/lib/go/thrift.TProtocol.ReadBool方法的典型用法代碼示例。如果您正苦於以下問題:Golang TProtocol.ReadBool方法的具體用法?Golang TProtocol.ReadBool怎麽用?Golang TProtocol.ReadBool使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在git/apache/org/thrift/git/lib/go/thrift.TProtocol的用法示例。


在下文中一共展示了TProtocol.ReadBool方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。

示例1: ReadField5

func (p *FichaAtendimentoOdontologicoChildThrift) ReadField5(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 5: %s", err)
	} else {
		p.NecessidadesEspeciais = &v
	}
	return nil
}
開發者ID:esusab,項目名稱:integracao,代碼行數:8,代碼來源:ttypes.go

示例2: readField0

func (p *UpdateResult) readField0(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 0: %s")
	} else {
		p.Success = v
	}
	return nil
}
開發者ID:huacnlee,項目名稱:thrift_example,代碼行數:8,代碼來源:common_service.go

示例3: ReadField10

func (p *FichaVisitaDomiciliarChildThrift) ReadField10(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 10: %s", err)
	} else {
		p.StForaArea = &v
	}
	return nil
}
開發者ID:esusab,項目名稱:integracao,代碼行數:8,代碼來源:ttypes.go

示例4: ReadField5

func (p *GetResourceViewHistoryArgs) ReadField5(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 5: %s", err)
	} else {
		p.IsReversed = v
	}
	return nil
}
開發者ID:lei-yu,項目名稱:GOPATH,代碼行數:8,代碼來源:resourcehistorymanager.go

示例5: ReadField3

func (p *ParticipanteRowItemThrift) ReadField3(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 3: %s", err)
	} else {
		p.AvaliacaoAlterada = &v
	}
	return nil
}
開發者ID:esusab,項目名稱:integracao,代碼行數:8,代碼來源:ttypes.go

示例6: ReadField7

func (p *ParticipanteRowItemThrift) ReadField7(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 7: %s", err)
	} else {
		p.AbandonouGrupo = &v
	}
	return nil
}
開發者ID:esusab,項目名稱:integracao,代碼行數:8,代碼來源:ttypes.go

示例7: readField13

func (p *BootstrapSettings) readField13(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 13: %s")
	} else {
		p.EnablePublicNotebooks = v
	}
	return nil
}
開發者ID:quekshuy,項目名稱:evernote-golang-sdk,代碼行數:8,代碼來源:ttypes.go

示例8: readField0

func (p *DcacheServicePutResult) readField0(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return thrift.PrependError("error reading field 0: ", err)
	} else {
		p.Success = &v
	}
	return nil
}
開發者ID:nipuntalukdar,項目名稱:NipunTalukdarExamples,代碼行數:8,代碼來源:dcacheservice.go

示例9: readField10

func (p *BootstrapSettings) readField10(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 10: %s")
	} else {
		p.EnableSponsoredAccounts = v
	}
	return nil
}
開發者ID:quekshuy,項目名稱:evernote-golang-sdk,代碼行數:8,代碼來源:ttypes.go

示例10: readField12

func (p *BootstrapSettings) readField12(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 12: %s")
	} else {
		p.EnableLinkedInSharing = v
	}
	return nil
}
開發者ID:quekshuy,項目名稱:evernote-golang-sdk,代碼行數:8,代碼來源:ttypes.go

示例11: readField7

func (p *BootstrapSettings) readField7(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 7: %s")
	} else {
		p.EnableSupportTickets = v
	}
	return nil
}
開發者ID:quekshuy,項目名稱:evernote-golang-sdk,代碼行數:8,代碼來源:ttypes.go

示例12: readField6

func (p *BootstrapSettings) readField6(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 6: %s")
	} else {
		p.EnableGiftSubscriptions = v
	}
	return nil
}
開發者ID:quekshuy,項目名稱:evernote-golang-sdk,代碼行數:8,代碼來源:ttypes.go

示例13: readField8

func (p *AuthenticationResult) readField8(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 8: %s")
	} else {
		p.SecondFactorRequired = v
	}
	return nil
}
開發者ID:quekshuy,項目名稱:evernote-golang-sdk,代碼行數:8,代碼來源:ttypes.go

示例14: ReadField4

func (p *GetGroupMessagesArgs) ReadField4(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 4: %s", err)
	} else {
		p.IsReversed = v
	}
	return nil
}
開發者ID:lei-yu,項目名稱:GOPATH,代碼行數:8,代碼來源:chatmanagersync.go

示例15: ReadField9

func (p *Span) ReadField9(iprot thrift.TProtocol) error {
	if v, err := iprot.ReadBool(); err != nil {
		return fmt.Errorf("error reading field 9: %s", err)
	} else {
		p.Debug = v
	}
	return nil
}
開發者ID:no2key,項目名稱:monitor-1,代碼行數:8,代碼來源:ttypes.go


注:本文中的git/apache/org/thrift/git/lib/go/thrift.TProtocol.ReadBool方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。