Documentation
¶
Index ¶
- func Call(params *port.CallParams, outputPort port.OutputPort, inputter port.Inputter, ...) (io.Reader, error)
- func Header(params *port.HeaderParams, outputPort port.OutputPort, env env.Environment) (io.Reader, error)
- func Service(params *port.ServiceParams, outputPort port.OutputPort, env env.Environment) (io.Reader, error)
- type Interactor
- func (i *Interactor) Call(params *port.CallParams) (io.Reader, error)
- func (i *Interactor) Describe(params *port.DescribeParams) (io.Reader, error)
- func (i *Interactor) Header(params *port.HeaderParams) (io.Reader, error)
- func (i *Interactor) Package(params *port.PackageParams) (io.Reader, error)
- func (i *Interactor) Service(params *port.ServiceParams) (io.Reader, error)
- func (i *Interactor) Show(params *port.ShowParams) (io.Reader, error)
- type InteractorParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Call ¶
func Call( params *port.CallParams, outputPort port.OutputPort, inputter port.Inputter, grpcClient entity.GRPCClient, builder port.DynamicBuilder, env env.Environment, ) (io.Reader, error)
func Header ¶
func Header( params *port.HeaderParams, outputPort port.OutputPort, env env.Environment, ) (io.Reader, error)
func Service ¶
func Service(params *port.ServiceParams, outputPort port.OutputPort, env env.Environment) (io.Reader, error)
Types ¶
type Interactor ¶
type Interactor struct {
// contains filtered or unexported fields
}
func NewInteractor ¶
func NewInteractor(params *InteractorParams) *Interactor
func (*Interactor) Call ¶
func (i *Interactor) Call(params *port.CallParams) (io.Reader, error)
func (*Interactor) Describe ¶
func (i *Interactor) Describe(params *port.DescribeParams) (io.Reader, error)
func (*Interactor) Header ¶
func (i *Interactor) Header(params *port.HeaderParams) (io.Reader, error)
func (*Interactor) Package ¶
func (i *Interactor) Package(params *port.PackageParams) (io.Reader, error)
func (*Interactor) Service ¶
func (i *Interactor) Service(params *port.ServiceParams) (io.Reader, error)
func (*Interactor) Show ¶
func (i *Interactor) Show(params *port.ShowParams) (io.Reader, error)
type InteractorParams ¶
type InteractorParams struct {
Env env.Environment
OutputPort port.OutputPort
InputterPort port.Inputter
DynamicBuilder port.DynamicBuilder
GRPCClient entity.GRPCClient
}
Click to show internal directories.
Click to hide internal directories.