middleware

package
v0.0.0-...-24d9d29 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceLogger

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

func NewServiceLogger

func NewServiceLogger(l log.Logger, next types.Service) ServiceLogger

func (ServiceLogger) Create

func (svc ServiceLogger) Create(ctx context.Context, ci types.CredentialInput) (output types.Credential, err error)

func (ServiceLogger) Delete

func (svc ServiceLogger) Delete(ctx context.Context, id string) (err error)

func (ServiceLogger) Get

func (svc ServiceLogger) Get(ctx context.Context, id string) (output types.Credential, err error)

func (ServiceLogger) GetAllMetadata

func (svc ServiceLogger) GetAllMetadata(ctx context.Context, sourceHost string) (output <-chan types.Metadata, errch chan error)

func (ServiceLogger) Update

func (svc ServiceLogger) Update(ctx context.Context, id string, ci types.CredentialInput) (output types.Credential, err error)

Jump to

Keyboard shortcuts

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