Back to

package socket

Latest Go to latest
Published: 4 days ago | License: MPL-2.0 | Module:


func Factory

func Factory(ctx context.Context, conf *audit.BackendConfig) (audit.Backend, error)

type Backend

type Backend struct {
	// contains filtered or unexported fields

Backend is the audit backend for the socket audit transport.

func (*Backend) GetHash

func (b *Backend) GetHash(ctx context.Context, data string) (string, error)

func (*Backend) Invalidate

func (b *Backend) Invalidate(_ context.Context)

func (*Backend) LogRequest

func (b *Backend) LogRequest(ctx context.Context, in *logical.LogInput) error

func (*Backend) LogResponse

func (b *Backend) LogResponse(ctx context.Context, in *logical.LogInput) error

func (*Backend) Reload

func (b *Backend) Reload(ctx context.Context) error

func (*Backend) Salt

func (b *Backend) Salt(ctx context.Context) (*salt.Salt, error)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier