Documentation ¶
Index ¶
- func Call(params *port.CallParams, outputPort port.OutputPort, inputter port.Inputter, ...) (io.Reader, error)
- func Describe(params *port.DescribeParams, outputPort port.OutputPort, ...) (io.Reader, error)
- func Header(params *port.HeaderParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
- func Package(params *port.PackageParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
- func Service(params *port.ServiceParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
- func Show(params *port.ShowParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
- type Interactor
- func (i *Interactor) Call(params *port.CallParams) (io.Reader, error)
- func (i *Interactor) Close(ctx context.Context) 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 entity.Environment, ) (io.Reader, error)
func Describe ¶
func Describe(params *port.DescribeParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
func Header ¶
func Header( params *port.HeaderParams, outputPort port.OutputPort, env entity.Environment, ) (io.Reader, error)
func Package ¶
func Package(params *port.PackageParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
func Service ¶
func Service(params *port.ServiceParams, outputPort port.OutputPort, env entity.Environment) (io.Reader, error)
func Show ¶
func Show(params *port.ShowParams, outputPort port.OutputPort, env entity.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) Close ¶
func (i *Interactor) Close(ctx context.Context) error
Close closes all dependencies by each Close method.
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 *entity.Env OutputPort port.OutputPort InputterPort port.Inputter DynamicBuilder port.DynamicBuilder GRPCClient entity.GRPCClient }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.