Versions in this module Expand all Collapse all v1 v1.0.0 Feb 15, 2019 Changes in this version + var FacebookServiceAliveSinceResult_Success_DEFAULT int64 + var FacebookServiceGetCounterResult_Success_DEFAULT int64 + var FacebookServiceGetCountersResult_Success_DEFAULT map[string]int64 + var FacebookServiceGetCpuProfileResult_Success_DEFAULT string + var FacebookServiceGetNameResult_Success_DEFAULT string + var FacebookServiceGetOptionResult_Success_DEFAULT string + var FacebookServiceGetOptionsResult_Success_DEFAULT map[string]string + var FacebookServiceGetStatusDetailsResult_Success_DEFAULT string + var FacebookServiceGetVersionResult_Success_DEFAULT string + var GoUnusedProtection__ int + type FacebookService interface + AliveSince func(ctx context.Context) (r int64, err error) + GetCounter func(ctx context.Context, key string) (r int64, err error) + GetCounters func(ctx context.Context) (r map[string]int64, err error) + GetCpuProfile func(ctx context.Context, profileDurationInSec int32) (r string, err error) + GetName func(ctx context.Context) (r string, err error) + GetOption func(ctx context.Context, key string) (r string, err error) + GetOptions func(ctx context.Context) (r map[string]string, err error) + GetStatus func(ctx context.Context) (r FbStatus, err error) + GetStatusDetails func(ctx context.Context) (r string, err error) + GetVersion func(ctx context.Context) (r string, err error) + Reinitialize func(ctx context.Context) (err error) + SetOption func(ctx context.Context, key string, value string) (err error) + Shutdown func(ctx context.Context) (err error) + type FacebookServiceAliveSinceArgs struct + func NewFacebookServiceAliveSinceArgs() *FacebookServiceAliveSinceArgs + func (p *FacebookServiceAliveSinceArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceAliveSinceArgs) String() string + func (p *FacebookServiceAliveSinceArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceAliveSinceResult struct + Success *int64 + func NewFacebookServiceAliveSinceResult() *FacebookServiceAliveSinceResult + func (p *FacebookServiceAliveSinceResult) GetSuccess() int64 + func (p *FacebookServiceAliveSinceResult) IsSetSuccess() bool + func (p *FacebookServiceAliveSinceResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceAliveSinceResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceAliveSinceResult) String() string + func (p *FacebookServiceAliveSinceResult) Write(oprot thrift.TProtocol) error + type FacebookServiceClient struct + func NewFacebookServiceClient(c thrift.TClient) *FacebookServiceClient + 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(ctx context.Context) (r int64, err error) + func (p *FacebookServiceClient) Client_() thrift.TClient + func (p *FacebookServiceClient) GetCounter(ctx context.Context, key string) (r int64, err error) + func (p *FacebookServiceClient) GetCounters(ctx context.Context) (r map[string]int64, err error) + func (p *FacebookServiceClient) GetCpuProfile(ctx context.Context, profileDurationInSec int32) (r string, err error) + func (p *FacebookServiceClient) GetName(ctx context.Context) (r string, err error) + func (p *FacebookServiceClient) GetOption(ctx context.Context, key string) (r string, err error) + func (p *FacebookServiceClient) GetOptions(ctx context.Context) (r map[string]string, err error) + func (p *FacebookServiceClient) GetStatus(ctx context.Context) (r FbStatus, err error) + func (p *FacebookServiceClient) GetStatusDetails(ctx context.Context) (r string, err error) + func (p *FacebookServiceClient) GetVersion(ctx context.Context) (r string, err error) + func (p *FacebookServiceClient) Reinitialize(ctx context.Context) (err error) + func (p *FacebookServiceClient) SetOption(ctx context.Context, key string, value string) (err error) + func (p *FacebookServiceClient) Shutdown(ctx context.Context) (err error) + type FacebookServiceGetCounterArgs struct + Key string + func NewFacebookServiceGetCounterArgs() *FacebookServiceGetCounterArgs + func (p *FacebookServiceGetCounterArgs) GetKey() string + func (p *FacebookServiceGetCounterArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCounterArgs) ReadField1(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCounterArgs) String() string + func (p *FacebookServiceGetCounterArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetCounterResult struct + Success *int64 + func NewFacebookServiceGetCounterResult() *FacebookServiceGetCounterResult + func (p *FacebookServiceGetCounterResult) GetSuccess() int64 + func (p *FacebookServiceGetCounterResult) IsSetSuccess() bool + func (p *FacebookServiceGetCounterResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCounterResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCounterResult) String() string + func (p *FacebookServiceGetCounterResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetCountersArgs struct + func NewFacebookServiceGetCountersArgs() *FacebookServiceGetCountersArgs + func (p *FacebookServiceGetCountersArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCountersArgs) String() string + func (p *FacebookServiceGetCountersArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetCountersResult struct + Success map[string]int64 + func NewFacebookServiceGetCountersResult() *FacebookServiceGetCountersResult + func (p *FacebookServiceGetCountersResult) GetSuccess() map[string]int64 + func (p *FacebookServiceGetCountersResult) IsSetSuccess() bool + func (p *FacebookServiceGetCountersResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCountersResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCountersResult) String() string + func (p *FacebookServiceGetCountersResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetCpuProfileArgs struct + ProfileDurationInSec int32 + func NewFacebookServiceGetCpuProfileArgs() *FacebookServiceGetCpuProfileArgs + func (p *FacebookServiceGetCpuProfileArgs) GetProfileDurationInSec() int32 + func (p *FacebookServiceGetCpuProfileArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCpuProfileArgs) ReadField1(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCpuProfileArgs) String() string + func (p *FacebookServiceGetCpuProfileArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetCpuProfileResult struct + Success *string + func NewFacebookServiceGetCpuProfileResult() *FacebookServiceGetCpuProfileResult + func (p *FacebookServiceGetCpuProfileResult) GetSuccess() string + func (p *FacebookServiceGetCpuProfileResult) IsSetSuccess() bool + func (p *FacebookServiceGetCpuProfileResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCpuProfileResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetCpuProfileResult) String() string + func (p *FacebookServiceGetCpuProfileResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetNameArgs struct + func NewFacebookServiceGetNameArgs() *FacebookServiceGetNameArgs + func (p *FacebookServiceGetNameArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetNameArgs) String() string + func (p *FacebookServiceGetNameArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetNameResult struct + Success *string + func NewFacebookServiceGetNameResult() *FacebookServiceGetNameResult + func (p *FacebookServiceGetNameResult) GetSuccess() string + func (p *FacebookServiceGetNameResult) IsSetSuccess() bool + func (p *FacebookServiceGetNameResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetNameResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetNameResult) String() string + func (p *FacebookServiceGetNameResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetOptionArgs struct + Key string + func NewFacebookServiceGetOptionArgs() *FacebookServiceGetOptionArgs + func (p *FacebookServiceGetOptionArgs) GetKey() string + func (p *FacebookServiceGetOptionArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionArgs) ReadField1(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionArgs) String() string + func (p *FacebookServiceGetOptionArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetOptionResult struct + Success *string + func NewFacebookServiceGetOptionResult() *FacebookServiceGetOptionResult + func (p *FacebookServiceGetOptionResult) GetSuccess() string + func (p *FacebookServiceGetOptionResult) IsSetSuccess() bool + func (p *FacebookServiceGetOptionResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionResult) String() string + func (p *FacebookServiceGetOptionResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetOptionsArgs struct + func NewFacebookServiceGetOptionsArgs() *FacebookServiceGetOptionsArgs + func (p *FacebookServiceGetOptionsArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionsArgs) String() string + func (p *FacebookServiceGetOptionsArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetOptionsResult struct + Success map[string]string + func NewFacebookServiceGetOptionsResult() *FacebookServiceGetOptionsResult + func (p *FacebookServiceGetOptionsResult) GetSuccess() map[string]string + func (p *FacebookServiceGetOptionsResult) IsSetSuccess() bool + func (p *FacebookServiceGetOptionsResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionsResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetOptionsResult) String() string + func (p *FacebookServiceGetOptionsResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetStatusArgs struct + func NewFacebookServiceGetStatusArgs() *FacebookServiceGetStatusArgs + func (p *FacebookServiceGetStatusArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetStatusArgs) String() string + func (p *FacebookServiceGetStatusArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetStatusDetailsArgs struct + func NewFacebookServiceGetStatusDetailsArgs() *FacebookServiceGetStatusDetailsArgs + func (p *FacebookServiceGetStatusDetailsArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetStatusDetailsArgs) String() string + func (p *FacebookServiceGetStatusDetailsArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetStatusDetailsResult struct + Success *string + func NewFacebookServiceGetStatusDetailsResult() *FacebookServiceGetStatusDetailsResult + func (p *FacebookServiceGetStatusDetailsResult) GetSuccess() string + func (p *FacebookServiceGetStatusDetailsResult) IsSetSuccess() bool + func (p *FacebookServiceGetStatusDetailsResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetStatusDetailsResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetStatusDetailsResult) String() string + func (p *FacebookServiceGetStatusDetailsResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetStatusResult struct + Success *FbStatus + func NewFacebookServiceGetStatusResult() *FacebookServiceGetStatusResult + func (p *FacebookServiceGetStatusResult) GetSuccess() FbStatus + func (p *FacebookServiceGetStatusResult) IsSetSuccess() bool + func (p *FacebookServiceGetStatusResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetStatusResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetStatusResult) String() string + func (p *FacebookServiceGetStatusResult) Write(oprot thrift.TProtocol) error + type FacebookServiceGetVersionArgs struct + func NewFacebookServiceGetVersionArgs() *FacebookServiceGetVersionArgs + func (p *FacebookServiceGetVersionArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetVersionArgs) String() string + func (p *FacebookServiceGetVersionArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceGetVersionResult struct + Success *string + func NewFacebookServiceGetVersionResult() *FacebookServiceGetVersionResult + func (p *FacebookServiceGetVersionResult) GetSuccess() string + func (p *FacebookServiceGetVersionResult) IsSetSuccess() bool + func (p *FacebookServiceGetVersionResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceGetVersionResult) ReadField0(iprot thrift.TProtocol) error + func (p *FacebookServiceGetVersionResult) String() string + func (p *FacebookServiceGetVersionResult) Write(oprot thrift.TProtocol) 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(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException) + func (p *FacebookServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction + type FacebookServiceReinitializeArgs struct + func NewFacebookServiceReinitializeArgs() *FacebookServiceReinitializeArgs + func (p *FacebookServiceReinitializeArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceReinitializeArgs) String() string + func (p *FacebookServiceReinitializeArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceSetOptionArgs struct + Key string + Value string + func NewFacebookServiceSetOptionArgs() *FacebookServiceSetOptionArgs + func (p *FacebookServiceSetOptionArgs) GetKey() string + func (p *FacebookServiceSetOptionArgs) GetValue() string + func (p *FacebookServiceSetOptionArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceSetOptionArgs) ReadField1(iprot thrift.TProtocol) error + func (p *FacebookServiceSetOptionArgs) ReadField2(iprot thrift.TProtocol) error + func (p *FacebookServiceSetOptionArgs) String() string + func (p *FacebookServiceSetOptionArgs) Write(oprot thrift.TProtocol) error + type FacebookServiceSetOptionResult struct + func NewFacebookServiceSetOptionResult() *FacebookServiceSetOptionResult + func (p *FacebookServiceSetOptionResult) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceSetOptionResult) String() string + func (p *FacebookServiceSetOptionResult) Write(oprot thrift.TProtocol) error + type FacebookServiceShutdownArgs struct + func NewFacebookServiceShutdownArgs() *FacebookServiceShutdownArgs + func (p *FacebookServiceShutdownArgs) Read(iprot thrift.TProtocol) error + func (p *FacebookServiceShutdownArgs) String() string + func (p *FacebookServiceShutdownArgs) Write(oprot thrift.TProtocol) error + type FbStatus int64 + const FbStatus_ALIVE + const FbStatus_DEAD + const FbStatus_STARTING + const FbStatus_STOPPED + const FbStatus_STOPPING + const FbStatus_WARNING + var FacebookServiceGetStatusResult_Success_DEFAULT FbStatus + func FbStatusFromString(s string) (FbStatus, error) + func FbStatusPtr(v FbStatus) *FbStatus + func (p *FbStatus) Scan(value interface{}) error + func (p *FbStatus) UnmarshalText(text []byte) error + func (p *FbStatus) Value() (driver.Value, error) + func (p FbStatus) MarshalText() ([]byte, error) + func (p FbStatus) String() string Incompatible versions in this module v2.1.0+incompatible Jan 13, 2021 v2.0.0+incompatible May 26, 2019