Documentation ¶
Index ¶
- type MappingBuilder
- func (b *MappingBuilder) ApplyTo(matcher web.RouteMatcher) *MappingBuilder
- func (b *MappingBuilder) Build() web.ErrorTranslateMapping
- func (b *MappingBuilder) Name(name string) *MappingBuilder
- func (b *MappingBuilder) Order(order int) *MappingBuilder
- func (b *MappingBuilder) Use(translateFunc web.ErrorTranslateFunc) *MappingBuilder
- func (b *MappingBuilder) With(translator web.ErrorTranslator) *MappingBuilder
- func (b *MappingBuilder) WithCondition(condition web.RequestMatcher) *MappingBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MappingBuilder ¶
type MappingBuilder struct {
// contains filtered or unexported fields
}
func New ¶
func New(name ...string) *MappingBuilder
func (*MappingBuilder) ApplyTo ¶
func (b *MappingBuilder) ApplyTo(matcher web.RouteMatcher) *MappingBuilder
func (*MappingBuilder) Build ¶
func (b *MappingBuilder) Build() web.ErrorTranslateMapping
func (*MappingBuilder) Name ¶
func (b *MappingBuilder) Name(name string) *MappingBuilder
func (*MappingBuilder) Order ¶
func (b *MappingBuilder) Order(order int) *MappingBuilder
func (*MappingBuilder) Use ¶
func (b *MappingBuilder) Use(translateFunc web.ErrorTranslateFunc) *MappingBuilder
func (*MappingBuilder) With ¶
func (b *MappingBuilder) With(translator web.ErrorTranslator) *MappingBuilder
func (*MappingBuilder) WithCondition ¶
func (b *MappingBuilder) WithCondition(condition web.RequestMatcher) *MappingBuilder
Click to show internal directories.
Click to hide internal directories.