renewserver

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownInstanceID = errors.New("unknown instance id")

Functions

This section is empty.

Types

type Request

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

func NewRequest

func NewRequest(instanceID string, ipAddr net.IP) Request

type UseCase

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

func New

func New(
	instanceRepo repositories.InstanceRepository,
	serverRepo repositories.ServerRepository,
	clock clockwork.Clock,
) UseCase

func (UseCase) Execute

func (uc UseCase) Execute(ctx context.Context, req Request) error

Jump to

Keyboard shortcuts

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