golang

package
v3.9.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ConstI32FromBase = 582

Variables

This section is empty.

Functions

This section is empty.

Types

type APIException

type APIException struct {
}

func NewAPIException

func NewAPIException() *APIException

func (*APIException) Error

func (p *APIException) Error() string

func (*APIException) Read

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

func (*APIException) String

func (p *APIException) String() string

func (*APIException) Write

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

type BaseFooBasePingArgs

type BaseFooBasePingArgs struct {
}

func NewBaseFooBasePingArgs

func NewBaseFooBasePingArgs() *BaseFooBasePingArgs

func (*BaseFooBasePingArgs) Read

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

func (*BaseFooBasePingArgs) String

func (p *BaseFooBasePingArgs) String() string

func (*BaseFooBasePingArgs) Write

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

type BaseFooBasePingResult

type BaseFooBasePingResult struct {
}

func NewBaseFooBasePingResult

func NewBaseFooBasePingResult() *BaseFooBasePingResult

func (*BaseFooBasePingResult) Read

func (*BaseFooBasePingResult) String

func (p *BaseFooBasePingResult) String() string

func (*BaseFooBasePingResult) Write

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

type BaseHealthCondition

type BaseHealthCondition int64
const (
	BaseHealthCondition_PASS    BaseHealthCondition = 1
	BaseHealthCondition_WARN    BaseHealthCondition = 2
	BaseHealthCondition_FAIL    BaseHealthCondition = 3
	BaseHealthCondition_UNKNOWN BaseHealthCondition = 4
)

func BaseHealthConditionFromString

func BaseHealthConditionFromString(s string) (BaseHealthCondition, error)

func (BaseHealthCondition) String

func (p BaseHealthCondition) String() string

type FBaseFoo

type FBaseFoo interface {
	BasePing(ctx frugal.FContext) (err error)
}

type FBaseFooClient

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

func NewFBaseFooClient

func NewFBaseFooClient(provider *frugal.FServiceProvider, middleware ...frugal.ServiceMiddleware) *FBaseFooClient

func (*FBaseFooClient) BasePing

func (f *FBaseFooClient) BasePing(ctx frugal.FContext) (err error)

type FBaseFooProcessor

type FBaseFooProcessor struct {
	*frugal.FBaseProcessor
}

func NewFBaseFooProcessor

func NewFBaseFooProcessor(handler FBaseFoo, middleware ...frugal.ServiceMiddleware) *FBaseFooProcessor

type NestedThing

type NestedThing struct {
	Things []*Thing
}

func NewNestedThing

func NewNestedThing() *NestedThing

func (*NestedThing) GetThings

func (p *NestedThing) GetThings() []*Thing

func (*NestedThing) Read

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

func (*NestedThing) String

func (p *NestedThing) String() string

func (*NestedThing) Write

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

type Thing

type Thing struct {
	AnID    int32
	AString string
}

func NewThing

func NewThing() *Thing

func (*Thing) GetAString

func (p *Thing) GetAString() string

func (*Thing) GetAnID

func (p *Thing) GetAnID() int32

func (*Thing) Read

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

func (*Thing) String

func (p *Thing) String() string

func (*Thing) Write

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

Jump to

Keyboard shortcuts

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