Documentation ¶
Index ¶
Constants ¶
View Source
const REST = "rest"
Variables ¶
This section is empty.
Functions ¶
func GetRestProtocol ¶
Types ¶
type RestExporter ¶
type RestExporter struct {
protocol.BaseExporter
}
func NewRestExporter ¶
func (*RestExporter) Unexport ¶
func (re *RestExporter) Unexport()
type RestInvoker ¶
type RestInvoker struct { protocol.BaseInvoker // contains filtered or unexported fields }
func NewRestInvoker ¶
func NewRestInvoker(url common.URL, client *client.RestClient, restMethodConfig map[string]*config.RestMethodConfig) *RestInvoker
func (*RestInvoker) Invoke ¶
func (ri *RestInvoker) Invoke(ctx context.Context, invocation protocol.Invocation) protocol.Result
type RestProtocol ¶
type RestProtocol struct { protocol.BaseProtocol // contains filtered or unexported fields }
func NewRestProtocol ¶
func NewRestProtocol() *RestProtocol
func (*RestProtocol) Destroy ¶
func (rp *RestProtocol) Destroy()
Click to show internal directories.
Click to hide internal directories.