mock

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App added in v1.12.0

func Artisan

func Artisan() *consolemocks.Artisan

func Auth added in v1.7.0

func Auth() *authmocks.Auth

func Config

func Config() *configmocks.Config

func Crypt added in v1.13.1

func Crypt() *cryptmocks.Crypt

func Event

func Event() (*eventmocks.Instance, *eventmocks.Task)

func Gate added in v1.7.0

func Gate() *accessmocks.Gate

func Grpc added in v1.7.0

func Grpc() *grpcmocks.Grpc

func Hash added in v1.13.1

func Hash() *hashmocks.Hash

func Log

func Log()

func Mail

func Mail() *mailmocks.Mail

func NewTestLog added in v1.12.0

func NewTestLog() log.Writer

func Queue

func Queue() (*queuemocks.Queue, *queuemocks.Task)

func RateLimiter added in v1.13.1

func RateLimiter() *httpmocks.RateLimiter

func Seeder added in v1.12.6

func Seeder() *seedermocks.Facade

func Storage added in v1.5.0

func Validation added in v1.8.0

func View added in v1.13.1

func View() *httpmocks.View

Types

type TestLog added in v1.12.0

type TestLog struct {
}

func (*TestLog) Code added in v1.13.1

func (r *TestLog) Code(code string) log.Writer

func (*TestLog) Debug added in v1.12.0

func (r *TestLog) Debug(args ...any)

func (*TestLog) Debugf added in v1.12.0

func (r *TestLog) Debugf(format string, args ...any)

func (*TestLog) Error added in v1.12.0

func (r *TestLog) Error(args ...any)

func (*TestLog) Errorf added in v1.12.0

func (r *TestLog) Errorf(format string, args ...any)

func (*TestLog) Fatal added in v1.12.0

func (r *TestLog) Fatal(args ...any)

func (*TestLog) Fatalf added in v1.12.0

func (r *TestLog) Fatalf(format string, args ...any)

func (*TestLog) Hint added in v1.13.1

func (r *TestLog) Hint(hint string) log.Writer

func (*TestLog) In added in v1.13.1

func (r *TestLog) In(domain string) log.Writer

func (*TestLog) Info added in v1.12.0

func (r *TestLog) Info(args ...any)

func (*TestLog) Infof added in v1.12.0

func (r *TestLog) Infof(format string, args ...any)

func (*TestLog) Owner added in v1.13.1

func (r *TestLog) Owner(owner any) log.Writer

func (*TestLog) Panic added in v1.12.0

func (r *TestLog) Panic(args ...any)

func (*TestLog) Panicf added in v1.12.0

func (r *TestLog) Panicf(format string, args ...any)

func (*TestLog) Request added in v1.13.1

func (r *TestLog) Request(req http.ContextRequest) log.Writer

func (*TestLog) Response added in v1.13.1

func (r *TestLog) Response(res http.ContextResponse) log.Writer

func (*TestLog) Tags added in v1.13.1

func (r *TestLog) Tags(tags ...string) log.Writer

func (*TestLog) User added in v1.13.1

func (r *TestLog) User(user any) log.Writer

func (*TestLog) Warning added in v1.12.0

func (r *TestLog) Warning(args ...any)

func (*TestLog) Warningf added in v1.12.0

func (r *TestLog) Warningf(format string, args ...any)

func (*TestLog) With added in v1.13.1

func (r *TestLog) With(data map[string]any) log.Writer

Jump to

Keyboard shortcuts

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