Versions in this module Expand all Collapse all v0 v0.3.2 Jun 22, 2015 Changes in this version + var GoUnusedProtection__ int + type AliveSinceArgs struct + func NewAliveSinceArgs() *AliveSinceArgs + func (p *AliveSinceArgs) Read(iprot thrift.TProtocol) error + func (p *AliveSinceArgs) String() string + func (p *AliveSinceArgs) Write(oprot thrift.TProtocol) error + type AliveSinceResult struct + Success int64 + func NewAliveSinceResult() *AliveSinceResult + func (p *AliveSinceResult) Read(iprot thrift.TProtocol) error + func (p *AliveSinceResult) String() string + func (p *AliveSinceResult) Write(oprot thrift.TProtocol) error + type FacebookService interface + AliveSince func() (r int64, err error) + GetCounter func(key string) (r int64, err error) + GetCounters func() (r map[string]int64, err error) + GetCpuProfile func(profileDurationInSec int32) (r string, err error) + GetName func() (r string, err error) + GetOption func(key string) (r string, err error) + GetOptions func() (r map[string]string, err error) + GetStatus func() (r FbStatus, err error) + GetStatusDetails func() (r string, err error) + GetVersion func() (r string, err error) + Reinitialize func() (err error) + SetOption func(key string, value string) (err error) + Shutdown func() (err error) + type FacebookServiceClient struct + InputProtocol thrift.TProtocol + OutputProtocol thrift.TProtocol + ProtocolFactory thrift.TProtocolFactory + SeqId int32 + Transport thrift.TTransport + func NewFacebookServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FacebookServiceClient + func NewFacebookServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FacebookServiceClient + func (p *FacebookServiceClient) AliveSince() (r int64, err error) + func (p *FacebookServiceClient) GetCounter(key string) (r int64, err error) + func (p *FacebookServiceClient) GetCounters() (r map[string]int64, err error) + func (p *FacebookServiceClient) GetCpuProfile(profileDurationInSec int32) (r string, err error) + func (p *FacebookServiceClient) GetName() (r string, err error) + func (p *FacebookServiceClient) GetOption(key string) (r string, err error) + func (p *FacebookServiceClient) GetOptions() (r map[string]string, err error) + func (p *FacebookServiceClient) GetStatus() (r FbStatus, err error) + func (p *FacebookServiceClient) GetStatusDetails() (r string, err error) + func (p *FacebookServiceClient) GetVersion() (r string, err error) + func (p *FacebookServiceClient) Reinitialize() (err error) + func (p *FacebookServiceClient) SetOption(key string, value string) (err error) + func (p *FacebookServiceClient) Shutdown() (err error) + type FacebookServiceProcessor struct + func NewFacebookServiceProcessor(handler FacebookService) *FacebookServiceProcessor + func (p *FacebookServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction) + func (p *FacebookServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool) + func (p *FacebookServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *FacebookServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type FbStatus int64 + const FbStatus_ALIVE + const FbStatus_DEAD + const FbStatus_STARTING + const FbStatus_STOPPED + const FbStatus_STOPPING + const FbStatus_WARNING + func FbStatusFromString(s string) (FbStatus, error) + func (p FbStatus) String() string + type GetCounterArgs struct + Key string + func NewGetCounterArgs() *GetCounterArgs + func (p *GetCounterArgs) Read(iprot thrift.TProtocol) error + func (p *GetCounterArgs) String() string + func (p *GetCounterArgs) Write(oprot thrift.TProtocol) error + type GetCounterResult struct + Success int64 + func NewGetCounterResult() *GetCounterResult + func (p *GetCounterResult) Read(iprot thrift.TProtocol) error + func (p *GetCounterResult) String() string + func (p *GetCounterResult) Write(oprot thrift.TProtocol) error + type GetCountersArgs struct + func NewGetCountersArgs() *GetCountersArgs + func (p *GetCountersArgs) Read(iprot thrift.TProtocol) error + func (p *GetCountersArgs) String() string + func (p *GetCountersArgs) Write(oprot thrift.TProtocol) error + type GetCountersResult struct + Success map[string]int64 + func NewGetCountersResult() *GetCountersResult + func (p *GetCountersResult) Read(iprot thrift.TProtocol) error + func (p *GetCountersResult) String() string + func (p *GetCountersResult) Write(oprot thrift.TProtocol) error + type GetCpuProfileArgs struct + ProfileDurationInSec int32 + func NewGetCpuProfileArgs() *GetCpuProfileArgs + func (p *GetCpuProfileArgs) Read(iprot thrift.TProtocol) error + func (p *GetCpuProfileArgs) String() string + func (p *GetCpuProfileArgs) Write(oprot thrift.TProtocol) error + type GetCpuProfileResult struct + Success string + func NewGetCpuProfileResult() *GetCpuProfileResult + func (p *GetCpuProfileResult) Read(iprot thrift.TProtocol) error + func (p *GetCpuProfileResult) String() string + func (p *GetCpuProfileResult) Write(oprot thrift.TProtocol) error + type GetNameArgs struct + func NewGetNameArgs() *GetNameArgs + func (p *GetNameArgs) Read(iprot thrift.TProtocol) error + func (p *GetNameArgs) String() string + func (p *GetNameArgs) Write(oprot thrift.TProtocol) error + type GetNameResult struct + Success string + func NewGetNameResult() *GetNameResult + func (p *GetNameResult) Read(iprot thrift.TProtocol) error + func (p *GetNameResult) String() string + func (p *GetNameResult) Write(oprot thrift.TProtocol) error + type GetOptionArgs struct + Key string + func NewGetOptionArgs() *GetOptionArgs + func (p *GetOptionArgs) Read(iprot thrift.TProtocol) error + func (p *GetOptionArgs) String() string + func (p *GetOptionArgs) Write(oprot thrift.TProtocol) error + type GetOptionResult struct + Success string + func NewGetOptionResult() *GetOptionResult + func (p *GetOptionResult) Read(iprot thrift.TProtocol) error + func (p *GetOptionResult) String() string + func (p *GetOptionResult) Write(oprot thrift.TProtocol) error + type GetOptionsArgs struct + func NewGetOptionsArgs() *GetOptionsArgs + func (p *GetOptionsArgs) Read(iprot thrift.TProtocol) error + func (p *GetOptionsArgs) String() string + func (p *GetOptionsArgs) Write(oprot thrift.TProtocol) error + type GetOptionsResult struct + Success map[string]string + func NewGetOptionsResult() *GetOptionsResult + func (p *GetOptionsResult) Read(iprot thrift.TProtocol) error + func (p *GetOptionsResult) String() string + func (p *GetOptionsResult) Write(oprot thrift.TProtocol) error + type GetStatusArgs struct + func NewGetStatusArgs() *GetStatusArgs + func (p *GetStatusArgs) Read(iprot thrift.TProtocol) error + func (p *GetStatusArgs) String() string + func (p *GetStatusArgs) Write(oprot thrift.TProtocol) error + type GetStatusDetailsArgs struct + func NewGetStatusDetailsArgs() *GetStatusDetailsArgs + func (p *GetStatusDetailsArgs) Read(iprot thrift.TProtocol) error + func (p *GetStatusDetailsArgs) String() string + func (p *GetStatusDetailsArgs) Write(oprot thrift.TProtocol) error + type GetStatusDetailsResult struct + Success string + func NewGetStatusDetailsResult() *GetStatusDetailsResult + func (p *GetStatusDetailsResult) Read(iprot thrift.TProtocol) error + func (p *GetStatusDetailsResult) String() string + func (p *GetStatusDetailsResult) Write(oprot thrift.TProtocol) error + type GetStatusResult struct + Success FbStatus + func NewGetStatusResult() *GetStatusResult + func (p *GetStatusResult) IsSetSuccess() bool + func (p *GetStatusResult) Read(iprot thrift.TProtocol) error + func (p *GetStatusResult) String() string + func (p *GetStatusResult) Write(oprot thrift.TProtocol) error + type GetVersionArgs struct + func NewGetVersionArgs() *GetVersionArgs + func (p *GetVersionArgs) Read(iprot thrift.TProtocol) error + func (p *GetVersionArgs) String() string + func (p *GetVersionArgs) Write(oprot thrift.TProtocol) error + type GetVersionResult struct + Success string + func NewGetVersionResult() *GetVersionResult + func (p *GetVersionResult) Read(iprot thrift.TProtocol) error + func (p *GetVersionResult) String() string + func (p *GetVersionResult) Write(oprot thrift.TProtocol) error + type ReinitializeArgs struct + func NewReinitializeArgs() *ReinitializeArgs + func (p *ReinitializeArgs) Read(iprot thrift.TProtocol) error + func (p *ReinitializeArgs) String() string + func (p *ReinitializeArgs) Write(oprot thrift.TProtocol) error + type ReinitializeResult struct + func NewReinitializeResult() *ReinitializeResult + func (p *ReinitializeResult) Read(iprot thrift.TProtocol) error + func (p *ReinitializeResult) String() string + func (p *ReinitializeResult) Write(oprot thrift.TProtocol) error + type SetOptionArgs struct + Key string + Value string + func NewSetOptionArgs() *SetOptionArgs + func (p *SetOptionArgs) Read(iprot thrift.TProtocol) error + func (p *SetOptionArgs) String() string + func (p *SetOptionArgs) Write(oprot thrift.TProtocol) error + type SetOptionResult struct + func NewSetOptionResult() *SetOptionResult + func (p *SetOptionResult) Read(iprot thrift.TProtocol) error + func (p *SetOptionResult) String() string + func (p *SetOptionResult) Write(oprot thrift.TProtocol) error + type ShutdownArgs struct + func NewShutdownArgs() *ShutdownArgs + func (p *ShutdownArgs) Read(iprot thrift.TProtocol) error + func (p *ShutdownArgs) String() string + func (p *ShutdownArgs) Write(oprot thrift.TProtocol) error + type ShutdownResult struct + func NewShutdownResult() *ShutdownResult + func (p *ShutdownResult) Read(iprot thrift.TProtocol) error + func (p *ShutdownResult) String() string + func (p *ShutdownResult) Write(oprot thrift.TProtocol) error