rest

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rest

type Rest interface {
	StartRest(context.Context, *sync.WaitGroup)
}

func NewRest

func NewRest(repositoryService *db.RepositoryService, services *service.ServiceResolver) Rest

type RestService

type RestService struct {
	RepositoryService *db.RepositoryService
	ServiceResolver   *service.ServiceResolver
	Server            *http.Server
	// contains filtered or unexported fields
}

func (*RestService) CredentialContextByPartyAndCountry

func (rs *RestService) CredentialContextByPartyAndCountry(next http.Handler) http.Handler

func (*RestService) CredentialContextByToken

func (rs *RestService) CredentialContextByToken(next http.Handler) http.Handler

func (*RestService) StartRest

func (rs *RestService) StartRest(shutdownCtx context.Context, waitGroup *sync.WaitGroup)

Jump to

Keyboard shortcuts

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