Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoodbyeHelper = struct { IsException func(error) bool Args func() *GoodbyeArgs WrapResponse func(error) (*GoodbyeResult, error) UnwrapResponse func(*GoodbyeResult) error }{}
View Source
var HandshakeHelper = struct { IsException func(error) bool Args func(request *api.HandshakeRequest) *HandshakeArgs WrapResponse func(*api.HandshakeResponse, error) (*HandshakeResult, error) UnwrapResponse func(*HandshakeResult) (*api.HandshakeResponse, error) }{}
Functions ¶
Types ¶
type GoodbyeArgs ¶
type GoodbyeArgs struct{}
func (*GoodbyeArgs) EnvelopeType ¶
func (v *GoodbyeArgs) EnvelopeType() wire.EnvelopeType
func (*GoodbyeArgs) MethodName ¶
func (v *GoodbyeArgs) MethodName() string
func (*GoodbyeArgs) String ¶
func (v *GoodbyeArgs) String() string
type GoodbyeResult ¶
type GoodbyeResult struct{}
func (*GoodbyeResult) EnvelopeType ¶
func (v *GoodbyeResult) EnvelopeType() wire.EnvelopeType
func (*GoodbyeResult) MethodName ¶
func (v *GoodbyeResult) MethodName() string
func (*GoodbyeResult) String ¶
func (v *GoodbyeResult) String() string
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves an implementation of the Plugin service.
func NewHandler ¶
NewHandler builds a new Plugin handler.
type HandshakeArgs ¶
type HandshakeArgs struct {
Request *api.HandshakeRequest `json:"request,omitempty"`
}
func (*HandshakeArgs) EnvelopeType ¶
func (v *HandshakeArgs) EnvelopeType() wire.EnvelopeType
func (*HandshakeArgs) MethodName ¶
func (v *HandshakeArgs) MethodName() string
func (*HandshakeArgs) String ¶
func (v *HandshakeArgs) String() string
type HandshakeResult ¶
type HandshakeResult struct {
Success *api.HandshakeResponse `json:"success,omitempty"`
}
func (*HandshakeResult) EnvelopeType ¶
func (v *HandshakeResult) EnvelopeType() wire.EnvelopeType
func (*HandshakeResult) MethodName ¶
func (v *HandshakeResult) MethodName() string
func (*HandshakeResult) String ¶
func (v *HandshakeResult) String() string
Click to show internal directories.
Click to hide internal directories.