Documentation ¶
Index ¶
- func New(srv iface.Service, object tns.Object, matcher *common.MatchDefinition) (commonIface.Serviceable, error)
- type Function
- func (f *Function) Application() string
- func (f *Function) CachePrefix() string
- func (f *Function) Close()
- func (f *Function) Commit() string
- func (f *Function) Config() *structureSpec.Function
- func (f *Function) Context() context.Context
- func (f *Function) Handle(w goHttp.ResponseWriter, r *goHttp.Request, ...) (t time.Time, err error)
- func (f *Function) Id() string
- func (f *Function) Match(matcher commonIface.MatchDefinition) (currentMatchIndex matcherSpec.Index)
- func (f *Function) Matcher() commonIface.MatchDefinition
- func (f *Function) Project() (cid.Cid, error)
- func (f *Function) Ready() error
- func (f *Function) Service() commonIface.ServiceComponent
- func (f *Function) SmartOps() (uint32, error)
- func (f *Function) Type() uint32
- func (f *Function) Validate(matcher commonIface.MatchDefinition) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(srv iface.Service, object tns.Object, matcher *common.MatchDefinition) (commonIface.Serviceable, error)
Types ¶
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func (*Function) Application ¶
func (*Function) CachePrefix ¶
func (*Function) Config ¶
func (f *Function) Config() *structureSpec.Function
func (*Function) Handle ¶
func (f *Function) Handle(w goHttp.ResponseWriter, r *goHttp.Request, matcher commonIface.MatchDefinition) (t time.Time, err error)
func (*Function) Match ¶
func (f *Function) Match(matcher commonIface.MatchDefinition) (currentMatchIndex matcherSpec.Index)
func (*Function) Matcher ¶
func (f *Function) Matcher() commonIface.MatchDefinition
func (*Function) Service ¶
func (f *Function) Service() commonIface.ServiceComponent
TODO the below are generic
func (*Function) Validate ¶
func (f *Function) Validate(matcher commonIface.MatchDefinition) error
Click to show internal directories.
Click to hide internal directories.