creditdriver

package
v1.0.0-beta.139 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrantHandler

type GrantHandler interface {
	ListGrants() ListGrantsHandler
	VoidGrant() VoidGrantHandler
}

func NewGrantHandler

func NewGrantHandler(
	namespaceDecoder namespacedriver.NamespaceDecoder,
	grantConnector credit.GrantConnector,
	grantRepo grant.Repo,
	options ...httptransport.HandlerOption,
) GrantHandler

type ListGrantsHandlerParams

type ListGrantsHandlerParams struct {
	Params api.ListGrantsParams
}

type ListGrantsHandlerRequest

type ListGrantsHandlerRequest struct {
	// contains filtered or unexported fields
}

type VoidGrantHandlerParams

type VoidGrantHandlerParams struct {
	ID string
}

type VoidGrantHandlerRequest

type VoidGrantHandlerRequest struct {
	ID models.NamespacedID
}

type VoidGrantHandlerResponse

type VoidGrantHandlerResponse = interface{}

Jump to

Keyboard shortcuts

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