Documentation ¶
Index ¶
- Variables
- type FacebookService
- type FacebookServiceAliveSinceArgs
- type 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
- 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
- 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
- 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
- type 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
- 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
- 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
- type 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
- 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
- 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
- type 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
- type FacebookServiceGetStatusDetailsArgs
- type 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
- 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
- type 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
- 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
- type 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
- type FacebookServiceShutdownArgs
- type FbStatus
Constants ¶
This section is empty.
Variables ¶
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
Functions ¶
This section is empty.
Types ¶
type FacebookService ¶
type FacebookService interface { // Returns a descriptive name of the service GetName(ctx context.Context) (r string, err error) // Returns the version of the service GetVersion(ctx context.Context) (r string, err error) // Gets the status of this service GetStatus(ctx context.Context) (r FbStatus, err error) // User friendly description of status, such as why the service is in // the dead or warning state, or what is being started or stopped. GetStatusDetails(ctx context.Context) (r string, err error) // Gets the counters for this service GetCounters(ctx context.Context) (r map[string]int64, err error) // Gets the value of a single counter // // Parameters: // - Key GetCounter(ctx context.Context, key string) (r int64, err error) // Sets an option // // Parameters: // - Key // - Value SetOption(ctx context.Context, key string, value string) (err error) // Gets an option // // Parameters: // - Key GetOption(ctx context.Context, key string) (r string, err error) // Gets all options GetOptions(ctx context.Context) (r map[string]string, err error) // Returns a CPU profile over the given time interval (client and server // must agree on the profile format). // // Parameters: // - ProfileDurationInSec GetCpuProfile(ctx context.Context, profileDurationInSec int32) (r string, err error) // Returns the unix time that the server has been running since AliveSince(ctx context.Context) (r int64, err error) // Tell the server to reload its configuration, reopen log files, etc Reinitialize(ctx context.Context) (err error) // Suggest a shutdown to the server Shutdown(ctx context.Context) (err error) }
type FacebookServiceAliveSinceArgs ¶
type FacebookServiceAliveSinceArgs struct { }
func NewFacebookServiceAliveSinceArgs ¶
func NewFacebookServiceAliveSinceArgs() *FacebookServiceAliveSinceArgs
func (*FacebookServiceAliveSinceArgs) Read ¶
func (p *FacebookServiceAliveSinceArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceAliveSinceArgs) String ¶
func (p *FacebookServiceAliveSinceArgs) String() string
type FacebookServiceAliveSinceResult ¶
type FacebookServiceAliveSinceResult struct {
Success *int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceAliveSinceResult ¶
func NewFacebookServiceAliveSinceResult() *FacebookServiceAliveSinceResult
func (*FacebookServiceAliveSinceResult) GetSuccess ¶
func (p *FacebookServiceAliveSinceResult) GetSuccess() int64
func (*FacebookServiceAliveSinceResult) IsSetSuccess ¶
func (p *FacebookServiceAliveSinceResult) IsSetSuccess() bool
func (*FacebookServiceAliveSinceResult) Read ¶
func (p *FacebookServiceAliveSinceResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceAliveSinceResult) ReadField0 ¶
func (p *FacebookServiceAliveSinceResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceAliveSinceResult) String ¶
func (p *FacebookServiceAliveSinceResult) String() string
type FacebookServiceClient ¶
type FacebookServiceClient struct {
// contains filtered or unexported fields
}
Standard base service
func NewFacebookServiceClient ¶
func NewFacebookServiceClient(c thrift.TClient) *FacebookServiceClient
func NewFacebookServiceClientFactory ¶
func NewFacebookServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FacebookServiceClient
func NewFacebookServiceClientProtocol ¶
func NewFacebookServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FacebookServiceClient
func (*FacebookServiceClient) AliveSince ¶
func (p *FacebookServiceClient) AliveSince(ctx context.Context) (r int64, err error)
Returns the unix time that the server has been running since
func (*FacebookServiceClient) Client_ ¶
func (p *FacebookServiceClient) Client_() thrift.TClient
func (*FacebookServiceClient) GetCounters ¶
Gets the counters for this service
func (*FacebookServiceClient) GetCpuProfile ¶
func (p *FacebookServiceClient) GetCpuProfile(ctx context.Context, profileDurationInSec int32) (r string, err error)
Returns a CPU profile over the given time interval (client and server must agree on the profile format).
Parameters:
- ProfileDurationInSec
func (*FacebookServiceClient) GetName ¶
func (p *FacebookServiceClient) GetName(ctx context.Context) (r string, err error)
Returns a descriptive name of the service
func (*FacebookServiceClient) GetOptions ¶
Gets all options
func (*FacebookServiceClient) GetStatus ¶
func (p *FacebookServiceClient) GetStatus(ctx context.Context) (r FbStatus, err error)
Gets the status of this service
func (*FacebookServiceClient) GetStatusDetails ¶
func (p *FacebookServiceClient) GetStatusDetails(ctx context.Context) (r string, err error)
User friendly description of status, such as why the service is in the dead or warning state, or what is being started or stopped.
func (*FacebookServiceClient) GetVersion ¶
func (p *FacebookServiceClient) GetVersion(ctx context.Context) (r string, err error)
Returns the version of the service
func (*FacebookServiceClient) Reinitialize ¶
func (p *FacebookServiceClient) Reinitialize(ctx context.Context) (err error)
Tell the server to reload its configuration, reopen log files, etc
type FacebookServiceGetCounterArgs ¶
type FacebookServiceGetCounterArgs struct {
Key string `thrift:"key,1" db:"key" json:"key"`
}
Attributes:
- Key
func NewFacebookServiceGetCounterArgs ¶
func NewFacebookServiceGetCounterArgs() *FacebookServiceGetCounterArgs
func (*FacebookServiceGetCounterArgs) GetKey ¶
func (p *FacebookServiceGetCounterArgs) GetKey() string
func (*FacebookServiceGetCounterArgs) Read ¶
func (p *FacebookServiceGetCounterArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetCounterArgs) ReadField1 ¶
func (p *FacebookServiceGetCounterArgs) ReadField1(iprot thrift.TProtocol) error
func (*FacebookServiceGetCounterArgs) String ¶
func (p *FacebookServiceGetCounterArgs) String() string
type FacebookServiceGetCounterResult ¶
type FacebookServiceGetCounterResult struct {
Success *int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetCounterResult ¶
func NewFacebookServiceGetCounterResult() *FacebookServiceGetCounterResult
func (*FacebookServiceGetCounterResult) GetSuccess ¶
func (p *FacebookServiceGetCounterResult) GetSuccess() int64
func (*FacebookServiceGetCounterResult) IsSetSuccess ¶
func (p *FacebookServiceGetCounterResult) IsSetSuccess() bool
func (*FacebookServiceGetCounterResult) Read ¶
func (p *FacebookServiceGetCounterResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetCounterResult) ReadField0 ¶
func (p *FacebookServiceGetCounterResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetCounterResult) String ¶
func (p *FacebookServiceGetCounterResult) String() string
type FacebookServiceGetCountersArgs ¶
type FacebookServiceGetCountersArgs struct { }
func NewFacebookServiceGetCountersArgs ¶
func NewFacebookServiceGetCountersArgs() *FacebookServiceGetCountersArgs
func (*FacebookServiceGetCountersArgs) Read ¶
func (p *FacebookServiceGetCountersArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetCountersArgs) String ¶
func (p *FacebookServiceGetCountersArgs) String() string
type FacebookServiceGetCountersResult ¶
type FacebookServiceGetCountersResult struct {
Success map[string]int64 `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetCountersResult ¶
func NewFacebookServiceGetCountersResult() *FacebookServiceGetCountersResult
func (*FacebookServiceGetCountersResult) GetSuccess ¶
func (p *FacebookServiceGetCountersResult) GetSuccess() map[string]int64
func (*FacebookServiceGetCountersResult) IsSetSuccess ¶
func (p *FacebookServiceGetCountersResult) IsSetSuccess() bool
func (*FacebookServiceGetCountersResult) Read ¶
func (p *FacebookServiceGetCountersResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetCountersResult) ReadField0 ¶
func (p *FacebookServiceGetCountersResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetCountersResult) String ¶
func (p *FacebookServiceGetCountersResult) String() string
type FacebookServiceGetCpuProfileArgs ¶
type FacebookServiceGetCpuProfileArgs struct {
ProfileDurationInSec int32 `thrift:"profileDurationInSec,1" db:"profileDurationInSec" json:"profileDurationInSec"`
}
Attributes:
- ProfileDurationInSec
func NewFacebookServiceGetCpuProfileArgs ¶
func NewFacebookServiceGetCpuProfileArgs() *FacebookServiceGetCpuProfileArgs
func (*FacebookServiceGetCpuProfileArgs) GetProfileDurationInSec ¶
func (p *FacebookServiceGetCpuProfileArgs) GetProfileDurationInSec() int32
func (*FacebookServiceGetCpuProfileArgs) Read ¶
func (p *FacebookServiceGetCpuProfileArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetCpuProfileArgs) ReadField1 ¶
func (p *FacebookServiceGetCpuProfileArgs) ReadField1(iprot thrift.TProtocol) error
func (*FacebookServiceGetCpuProfileArgs) String ¶
func (p *FacebookServiceGetCpuProfileArgs) String() string
type FacebookServiceGetCpuProfileResult ¶
type FacebookServiceGetCpuProfileResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetCpuProfileResult ¶
func NewFacebookServiceGetCpuProfileResult() *FacebookServiceGetCpuProfileResult
func (*FacebookServiceGetCpuProfileResult) GetSuccess ¶
func (p *FacebookServiceGetCpuProfileResult) GetSuccess() string
func (*FacebookServiceGetCpuProfileResult) IsSetSuccess ¶
func (p *FacebookServiceGetCpuProfileResult) IsSetSuccess() bool
func (*FacebookServiceGetCpuProfileResult) Read ¶
func (p *FacebookServiceGetCpuProfileResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetCpuProfileResult) ReadField0 ¶
func (p *FacebookServiceGetCpuProfileResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetCpuProfileResult) String ¶
func (p *FacebookServiceGetCpuProfileResult) String() string
type FacebookServiceGetNameArgs ¶
type FacebookServiceGetNameArgs struct { }
func NewFacebookServiceGetNameArgs ¶
func NewFacebookServiceGetNameArgs() *FacebookServiceGetNameArgs
func (*FacebookServiceGetNameArgs) Read ¶
func (p *FacebookServiceGetNameArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetNameArgs) String ¶
func (p *FacebookServiceGetNameArgs) String() string
type FacebookServiceGetNameResult ¶
type FacebookServiceGetNameResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetNameResult ¶
func NewFacebookServiceGetNameResult() *FacebookServiceGetNameResult
func (*FacebookServiceGetNameResult) GetSuccess ¶
func (p *FacebookServiceGetNameResult) GetSuccess() string
func (*FacebookServiceGetNameResult) IsSetSuccess ¶
func (p *FacebookServiceGetNameResult) IsSetSuccess() bool
func (*FacebookServiceGetNameResult) Read ¶
func (p *FacebookServiceGetNameResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetNameResult) ReadField0 ¶
func (p *FacebookServiceGetNameResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetNameResult) String ¶
func (p *FacebookServiceGetNameResult) String() string
type FacebookServiceGetOptionArgs ¶
type FacebookServiceGetOptionArgs struct {
Key string `thrift:"key,1" db:"key" json:"key"`
}
Attributes:
- Key
func NewFacebookServiceGetOptionArgs ¶
func NewFacebookServiceGetOptionArgs() *FacebookServiceGetOptionArgs
func (*FacebookServiceGetOptionArgs) GetKey ¶
func (p *FacebookServiceGetOptionArgs) GetKey() string
func (*FacebookServiceGetOptionArgs) Read ¶
func (p *FacebookServiceGetOptionArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionArgs) ReadField1 ¶
func (p *FacebookServiceGetOptionArgs) ReadField1(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionArgs) String ¶
func (p *FacebookServiceGetOptionArgs) String() string
type FacebookServiceGetOptionResult ¶
type FacebookServiceGetOptionResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetOptionResult ¶
func NewFacebookServiceGetOptionResult() *FacebookServiceGetOptionResult
func (*FacebookServiceGetOptionResult) GetSuccess ¶
func (p *FacebookServiceGetOptionResult) GetSuccess() string
func (*FacebookServiceGetOptionResult) IsSetSuccess ¶
func (p *FacebookServiceGetOptionResult) IsSetSuccess() bool
func (*FacebookServiceGetOptionResult) Read ¶
func (p *FacebookServiceGetOptionResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionResult) ReadField0 ¶
func (p *FacebookServiceGetOptionResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionResult) String ¶
func (p *FacebookServiceGetOptionResult) String() string
type FacebookServiceGetOptionsArgs ¶
type FacebookServiceGetOptionsArgs struct { }
func NewFacebookServiceGetOptionsArgs ¶
func NewFacebookServiceGetOptionsArgs() *FacebookServiceGetOptionsArgs
func (*FacebookServiceGetOptionsArgs) Read ¶
func (p *FacebookServiceGetOptionsArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionsArgs) String ¶
func (p *FacebookServiceGetOptionsArgs) String() string
type FacebookServiceGetOptionsResult ¶
type FacebookServiceGetOptionsResult struct {
Success map[string]string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetOptionsResult ¶
func NewFacebookServiceGetOptionsResult() *FacebookServiceGetOptionsResult
func (*FacebookServiceGetOptionsResult) GetSuccess ¶
func (p *FacebookServiceGetOptionsResult) GetSuccess() map[string]string
func (*FacebookServiceGetOptionsResult) IsSetSuccess ¶
func (p *FacebookServiceGetOptionsResult) IsSetSuccess() bool
func (*FacebookServiceGetOptionsResult) Read ¶
func (p *FacebookServiceGetOptionsResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionsResult) ReadField0 ¶
func (p *FacebookServiceGetOptionsResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetOptionsResult) String ¶
func (p *FacebookServiceGetOptionsResult) String() string
type FacebookServiceGetStatusArgs ¶
type FacebookServiceGetStatusArgs struct { }
func NewFacebookServiceGetStatusArgs ¶
func NewFacebookServiceGetStatusArgs() *FacebookServiceGetStatusArgs
func (*FacebookServiceGetStatusArgs) Read ¶
func (p *FacebookServiceGetStatusArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetStatusArgs) String ¶
func (p *FacebookServiceGetStatusArgs) String() string
type FacebookServiceGetStatusDetailsArgs ¶
type FacebookServiceGetStatusDetailsArgs struct { }
func NewFacebookServiceGetStatusDetailsArgs ¶
func NewFacebookServiceGetStatusDetailsArgs() *FacebookServiceGetStatusDetailsArgs
func (*FacebookServiceGetStatusDetailsArgs) Read ¶
func (p *FacebookServiceGetStatusDetailsArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetStatusDetailsArgs) String ¶
func (p *FacebookServiceGetStatusDetailsArgs) String() string
type FacebookServiceGetStatusDetailsResult ¶
type FacebookServiceGetStatusDetailsResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetStatusDetailsResult ¶
func NewFacebookServiceGetStatusDetailsResult() *FacebookServiceGetStatusDetailsResult
func (*FacebookServiceGetStatusDetailsResult) GetSuccess ¶
func (p *FacebookServiceGetStatusDetailsResult) GetSuccess() string
func (*FacebookServiceGetStatusDetailsResult) IsSetSuccess ¶
func (p *FacebookServiceGetStatusDetailsResult) IsSetSuccess() bool
func (*FacebookServiceGetStatusDetailsResult) Read ¶
func (p *FacebookServiceGetStatusDetailsResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetStatusDetailsResult) ReadField0 ¶
func (p *FacebookServiceGetStatusDetailsResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetStatusDetailsResult) String ¶
func (p *FacebookServiceGetStatusDetailsResult) String() string
type FacebookServiceGetStatusResult ¶
type FacebookServiceGetStatusResult struct {
Success *FbStatus `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetStatusResult ¶
func NewFacebookServiceGetStatusResult() *FacebookServiceGetStatusResult
func (*FacebookServiceGetStatusResult) GetSuccess ¶
func (p *FacebookServiceGetStatusResult) GetSuccess() FbStatus
func (*FacebookServiceGetStatusResult) IsSetSuccess ¶
func (p *FacebookServiceGetStatusResult) IsSetSuccess() bool
func (*FacebookServiceGetStatusResult) Read ¶
func (p *FacebookServiceGetStatusResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetStatusResult) ReadField0 ¶
func (p *FacebookServiceGetStatusResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetStatusResult) String ¶
func (p *FacebookServiceGetStatusResult) String() string
type FacebookServiceGetVersionArgs ¶
type FacebookServiceGetVersionArgs struct { }
func NewFacebookServiceGetVersionArgs ¶
func NewFacebookServiceGetVersionArgs() *FacebookServiceGetVersionArgs
func (*FacebookServiceGetVersionArgs) Read ¶
func (p *FacebookServiceGetVersionArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetVersionArgs) String ¶
func (p *FacebookServiceGetVersionArgs) String() string
type FacebookServiceGetVersionResult ¶
type FacebookServiceGetVersionResult struct {
Success *string `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewFacebookServiceGetVersionResult ¶
func NewFacebookServiceGetVersionResult() *FacebookServiceGetVersionResult
func (*FacebookServiceGetVersionResult) GetSuccess ¶
func (p *FacebookServiceGetVersionResult) GetSuccess() string
func (*FacebookServiceGetVersionResult) IsSetSuccess ¶
func (p *FacebookServiceGetVersionResult) IsSetSuccess() bool
func (*FacebookServiceGetVersionResult) Read ¶
func (p *FacebookServiceGetVersionResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceGetVersionResult) ReadField0 ¶
func (p *FacebookServiceGetVersionResult) ReadField0(iprot thrift.TProtocol) error
func (*FacebookServiceGetVersionResult) String ¶
func (p *FacebookServiceGetVersionResult) String() string
type FacebookServiceProcessor ¶
type FacebookServiceProcessor struct {
// contains filtered or unexported fields
}
func NewFacebookServiceProcessor ¶
func NewFacebookServiceProcessor(handler FacebookService) *FacebookServiceProcessor
func (*FacebookServiceProcessor) AddToProcessorMap ¶
func (p *FacebookServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*FacebookServiceProcessor) GetProcessorFunction ¶
func (p *FacebookServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*FacebookServiceProcessor) Process ¶
func (p *FacebookServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*FacebookServiceProcessor) ProcessorMap ¶
func (p *FacebookServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type FacebookServiceReinitializeArgs ¶
type FacebookServiceReinitializeArgs struct { }
func NewFacebookServiceReinitializeArgs ¶
func NewFacebookServiceReinitializeArgs() *FacebookServiceReinitializeArgs
func (*FacebookServiceReinitializeArgs) Read ¶
func (p *FacebookServiceReinitializeArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceReinitializeArgs) String ¶
func (p *FacebookServiceReinitializeArgs) String() string
type FacebookServiceSetOptionArgs ¶
type FacebookServiceSetOptionArgs struct { Key string `thrift:"key,1" db:"key" json:"key"` Value string `thrift:"value,2" db:"value" json:"value"` }
Attributes:
- Key
- Value
func NewFacebookServiceSetOptionArgs ¶
func NewFacebookServiceSetOptionArgs() *FacebookServiceSetOptionArgs
func (*FacebookServiceSetOptionArgs) GetKey ¶
func (p *FacebookServiceSetOptionArgs) GetKey() string
func (*FacebookServiceSetOptionArgs) GetValue ¶
func (p *FacebookServiceSetOptionArgs) GetValue() string
func (*FacebookServiceSetOptionArgs) Read ¶
func (p *FacebookServiceSetOptionArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceSetOptionArgs) ReadField1 ¶
func (p *FacebookServiceSetOptionArgs) ReadField1(iprot thrift.TProtocol) error
func (*FacebookServiceSetOptionArgs) ReadField2 ¶
func (p *FacebookServiceSetOptionArgs) ReadField2(iprot thrift.TProtocol) error
func (*FacebookServiceSetOptionArgs) String ¶
func (p *FacebookServiceSetOptionArgs) String() string
type FacebookServiceSetOptionResult ¶
type FacebookServiceSetOptionResult struct { }
func NewFacebookServiceSetOptionResult ¶
func NewFacebookServiceSetOptionResult() *FacebookServiceSetOptionResult
func (*FacebookServiceSetOptionResult) Read ¶
func (p *FacebookServiceSetOptionResult) Read(iprot thrift.TProtocol) error
func (*FacebookServiceSetOptionResult) String ¶
func (p *FacebookServiceSetOptionResult) String() string
type FacebookServiceShutdownArgs ¶
type FacebookServiceShutdownArgs struct { }
func NewFacebookServiceShutdownArgs ¶
func NewFacebookServiceShutdownArgs() *FacebookServiceShutdownArgs
func (*FacebookServiceShutdownArgs) Read ¶
func (p *FacebookServiceShutdownArgs) Read(iprot thrift.TProtocol) error
func (*FacebookServiceShutdownArgs) String ¶
func (p *FacebookServiceShutdownArgs) String() string
type FbStatus ¶
type FbStatus int64
Common status reporting mechanism across all services
var FacebookServiceGetStatusResult_Success_DEFAULT FbStatus