当前位置: 首页>>代码示例>>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;未经允许,请勿转载。