mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func Artisan

func Artisan() *consolemocks.Artisan

func Auth

func Auth() *authmocks.Auth

func Config

func Config() *configmocks.Config

func Crypt

func Crypt() *cryptmocks.Crypt

func Event

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

func Gate

func Gate() *accessmocks.Gate

func Grpc

func Grpc() *grpcmocks.Grpc

func Hash

func Hash() *hashmocks.Hash

func Log

func Log()

func Mail

func Mail() *mailmocks.Mail

func NewTestLog

func NewTestLog() log.Writer

func Queue

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

func RateLimiter

func RateLimiter() *httpmocks.RateLimiter

func Seeder

func Seeder() *seedermocks.Facade

func View

func View() *httpmocks.View

Types

type TestLog

type TestLog struct {
}

func (*TestLog) Code

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

func (*TestLog) Debug

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

func (*TestLog) Debugf

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

func (*TestLog) Error

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

func (*TestLog) Errorf

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

func (*TestLog) Fatal

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

func (*TestLog) Fatalf

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

func (*TestLog) Hint

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

func (*TestLog) In

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

func (*TestLog) Info

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

func (*TestLog) Infof

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

func (*TestLog) Owner

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

func (*TestLog) Panic

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

func (*TestLog) Panicf

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

func (*TestLog) Request

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

func (*TestLog) Response

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

func (*TestLog) Tags

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

func (*TestLog) User

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

func (*TestLog) Warning

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

func (*TestLog) Warningf

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

func (*TestLog) With

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