Help us shape the future of Go! Take the 2026 Go Developer Survey

socket

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

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

Types

type Backend

type Backend struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Backend is the audit backend for the socket audit transport.

func (*Backend) GetHash

func (b *Backend) GetHash(data string) (string, error)

func (*Backend) Invalidate added in v0.7.3

func (b *Backend) Invalidate()

func (*Backend) LogRequest

func (b *Backend) LogRequest(auth *logical.Auth, req *logical.Request, outerErr error) error

func (*Backend) LogResponse

func (b *Backend) LogResponse(auth *logical.Auth, req *logical.Request,
	resp *logical.Response, outerErr error) error

func (*Backend) Reload

func (b *Backend) Reload() error

func (*Backend) Salt added in v0.7.3

func (b *Backend) Salt() (*salt.Salt, error)

Jump to

Keyboard shortcuts

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