Documentation ¶
Index ¶
- type Data2HopeFunc
- type Dto
- type Fact
- type Fbk
- func (f *Fbk) GetBehaviorId() string
- func (f *Fbk) GetErrors() []string
- func (f *Fbk) GetFlattenedErrors() string
- func (f *Fbk) GetStatus() int
- func (f *Fbk) IsSuccess() bool
- func (f *Fbk) SetError(s string)
- func (f *Fbk) SetInfo(s string)
- func (f *Fbk) SetStatus(s int) int
- func (f *Fbk) SetWarning(s string)
- type Fbk2DataFunc
- type GenData2HopeFunc
- type Hope
- type HopeType
- type IDto
- type IFact
- type IFbk
- type IHope
- type IReq
- type IRsp
- type Req
- type Rsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data2HopeFunc ¶
type Dto ¶
func NewDto ¶
NewDto accepts an Id as a string in the format "prefix-string" and returns an IDto Injector
type Fbk ¶
type Fbk struct { *Dto Status int `json:"status"` Errors []string `json:"errors"` Warnings []string `json:"warnings"` Infos []string `json:"infos"` }
func (*Fbk) GetBehaviorId ¶
func (*Fbk) GetFlattenedErrors ¶
func (*Fbk) SetWarning ¶
type Fbk2DataFunc ¶
type GenData2HopeFunc ¶
func Data2Hope ¶
func Data2Hope[THope IHope]() GenData2HopeFunc[THope]
type IFact ¶
type IFact interface { IDto }
IFact is the injector for DI type discrimination based on Facts
type IFbk ¶
Click to show internal directories.
Click to hide internal directories.