service

package
v0.0.0-...-b6af633 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApprovalService

func NewApprovalService(opt Option) *approvalService

Types

type ApprovalService

type ApprovalService interface {
	Submit(ctx context.Context, req *payload.ApprovalRequest) (purchaseID string, err error)
}

type Option

type Option struct {
	commons.Option
	Repository repository.Repository
}

type Service

type Service struct {
	Approval ApprovalService
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL