meta

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var HealthStatus_Message_DEFAULT string

Functions

This section is empty.

Types

type Filename

type Filename string

func FilenamePtr

func FilenamePtr(v Filename) *Filename

type HealthStatus

type HealthStatus struct {
	Ok      bool    `thrift:"ok,1,required" json:"ok"`
	Message *string `thrift:"message,2" json:"message,omitempty"`
}

Attributes:

  • Ok
  • Message
var MetaHealthResult_Success_DEFAULT *HealthStatus

func NewHealthStatus

func NewHealthStatus() *HealthStatus

func (*HealthStatus) GetMessage

func (p *HealthStatus) GetMessage() string

func (*HealthStatus) GetOk

func (p *HealthStatus) GetOk() bool

func (*HealthStatus) IsSetMessage

func (p *HealthStatus) IsSetMessage() bool

func (*HealthStatus) Read

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

func (*HealthStatus) String

func (p *HealthStatus) String() string

func (*HealthStatus) Write

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

type Meta

type Meta interface {
	Health() (r *HealthStatus, err error)
	ThriftIDL() (r *ThriftIDLs, err error)
	VersionInfo() (r *VersionInfo, err error)
}

type MetaClient

type MetaClient struct {
	Transport       thrift.TTransport
	ProtocolFactory thrift.TProtocolFactory
	InputProtocol   thrift.TProtocol
	OutputProtocol  thrift.TProtocol
	SeqId           int32
}

func NewMetaClientProtocol

func NewMetaClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MetaClient

func (*MetaClient) Health

func (p *MetaClient) Health() (r *HealthStatus, err error)

func (*MetaClient) ThriftIDL

func (p *MetaClient) ThriftIDL() (r *ThriftIDLs, err error)

func (*MetaClient) VersionInfo

func (p *MetaClient) VersionInfo() (r *VersionInfo, err error)

type MetaHealthArgs

type MetaHealthArgs struct {
}

func NewMetaHealthArgs

func NewMetaHealthArgs() *MetaHealthArgs

func (*MetaHealthArgs) Read

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

func (*MetaHealthArgs) String

func (p *MetaHealthArgs) String() string

func (*MetaHealthArgs) Write

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

type MetaHealthResult

type MetaHealthResult struct {
	Success *HealthStatus `thrift:"success,0" json:"success,omitempty"`
}

Attributes:

  • Success

func NewMetaHealthResult

func NewMetaHealthResult() *MetaHealthResult

func (*MetaHealthResult) GetSuccess

func (p *MetaHealthResult) GetSuccess() *HealthStatus

func (*MetaHealthResult) IsSetSuccess

func (p *MetaHealthResult) IsSetSuccess() bool

func (*MetaHealthResult) Read

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

func (*MetaHealthResult) String

func (p *MetaHealthResult) String() string

func (*MetaHealthResult) Write

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

type MetaProcessor

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

func NewMetaProcessor

func NewMetaProcessor(handler Meta) *MetaProcessor

func (*MetaProcessor) AddToProcessorMap

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

func (*MetaProcessor) GetProcessorFunction

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

func (*MetaProcessor) Process

func (p *MetaProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*MetaProcessor) ProcessorMap

func (p *MetaProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type MetaThriftIDLArgs

type MetaThriftIDLArgs struct {
}

func NewMetaThriftIDLArgs

func NewMetaThriftIDLArgs() *MetaThriftIDLArgs

func (*MetaThriftIDLArgs) Read

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

func (*MetaThriftIDLArgs) String

func (p *MetaThriftIDLArgs) String() string

func (*MetaThriftIDLArgs) Write

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

type MetaThriftIDLResult

type MetaThriftIDLResult struct {
	Success *ThriftIDLs `thrift:"success,0" json:"success,omitempty"`
}

Attributes:

  • Success

func NewMetaThriftIDLResult

func NewMetaThriftIDLResult() *MetaThriftIDLResult

func (*MetaThriftIDLResult) GetSuccess

func (p *MetaThriftIDLResult) GetSuccess() *ThriftIDLs

func (*MetaThriftIDLResult) IsSetSuccess

func (p *MetaThriftIDLResult) IsSetSuccess() bool

func (*MetaThriftIDLResult) Read

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

func (*MetaThriftIDLResult) String

func (p *MetaThriftIDLResult) String() string

func (*MetaThriftIDLResult) Write

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

type MetaVersionInfoArgs

type MetaVersionInfoArgs struct {
}

func NewMetaVersionInfoArgs

func NewMetaVersionInfoArgs() *MetaVersionInfoArgs

func (*MetaVersionInfoArgs) Read

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

func (*MetaVersionInfoArgs) String

func (p *MetaVersionInfoArgs) String() string

func (*MetaVersionInfoArgs) Write

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

type MetaVersionInfoResult

type MetaVersionInfoResult struct {
	Success *VersionInfo `thrift:"success,0" json:"success,omitempty"`
}

Attributes:

  • Success

func NewMetaVersionInfoResult

func NewMetaVersionInfoResult() *MetaVersionInfoResult

func (*MetaVersionInfoResult) GetSuccess

func (p *MetaVersionInfoResult) GetSuccess() *VersionInfo

func (*MetaVersionInfoResult) IsSetSuccess

func (p *MetaVersionInfoResult) IsSetSuccess() bool

func (*MetaVersionInfoResult) Read

func (*MetaVersionInfoResult) String

func (p *MetaVersionInfoResult) String() string

func (*MetaVersionInfoResult) Write

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

type ThriftIDLs

type ThriftIDLs struct {
	Idls       map[Filename]string `thrift:"idls,1,required" json:"idls"`
	EntryPoint Filename            `thrift:"entryPoint,2,required" json:"entryPoint"`
}

Attributes:

  • Idls
  • EntryPoint
var MetaThriftIDLResult_Success_DEFAULT *ThriftIDLs

func NewThriftIDLs

func NewThriftIDLs() *ThriftIDLs

func (*ThriftIDLs) GetEntryPoint

func (p *ThriftIDLs) GetEntryPoint() Filename

func (*ThriftIDLs) GetIdls

func (p *ThriftIDLs) GetIdls() map[Filename]string

func (*ThriftIDLs) Read

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

func (*ThriftIDLs) String

func (p *ThriftIDLs) String() string

func (*ThriftIDLs) Write

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

type VersionInfo

type VersionInfo struct {
	Language        string `thrift:"language,1,required" json:"language"`
	LanguageVersion string `thrift:"language_version,2,required" json:"language_version"`
	Version         string `thrift:"version,3,required" json:"version"`
}

Attributes:

  • Language
  • LanguageVersion
  • Version
var MetaVersionInfoResult_Success_DEFAULT *VersionInfo

func NewVersionInfo

func NewVersionInfo() *VersionInfo

func (*VersionInfo) GetLanguage

func (p *VersionInfo) GetLanguage() string

func (*VersionInfo) GetLanguageVersion

func (p *VersionInfo) GetLanguageVersion() string

func (*VersionInfo) GetVersion

func (p *VersionInfo) GetVersion() string

func (*VersionInfo) Read

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

func (*VersionInfo) String

func (p *VersionInfo) String() string

func (*VersionInfo) Write

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

Jump to

Keyboard shortcuts

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