Documentation ¶
Index ¶
- type CLIPresenter
- func (p *CLIPresenter) Call(res proto.Message) (io.Reader, error)
- func (p *CLIPresenter) Describe(showable port.Showable) (io.Reader, error)
- func (p *CLIPresenter) Header() (io.Reader, error)
- func (p *CLIPresenter) Package() (io.Reader, error)
- func (p *CLIPresenter) Service() (io.Reader, error)
- func (p *CLIPresenter) Show(showable port.Showable) (io.Reader, error)
- type StubPresenter
- func (p *StubPresenter) Call(res proto.Message) (io.Reader, error)
- func (p *StubPresenter) Describe(showable port.Showable) (io.Reader, error)
- func (p *StubPresenter) Header() (io.Reader, error)
- func (p *StubPresenter) Package() (io.Reader, error)
- func (p *StubPresenter) Service() (io.Reader, error)
- func (p *StubPresenter) Show(showable port.Showable) (io.Reader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIPresenter ¶
type CLIPresenter struct {
// contains filtered or unexported fields
}
func NewJSONCLIPresenter ¶
func NewJSONCLIPresenter() *CLIPresenter
func NewJSONCLIPresenterWithIndent ¶
func NewJSONCLIPresenterWithIndent() *CLIPresenter
type StubPresenter ¶
type StubPresenter struct{}
StubPresenter returns no decorated response. it is used for test only.
func NewStubPresenter ¶
func NewStubPresenter() *StubPresenter
Click to show internal directories.
Click to hide internal directories.