Documentation ¶
Index ¶
Constants ¶
View Source
const ( Debug = iota + 1 Info Warn Error Panic Fatal Silence )
Variables ¶
This section is empty.
Functions ¶
func DefaultLogger ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...ServiceOption) *Service
func (*Service) DoSomething ¶
type ServiceOption ¶
type ServiceOption func(*serviceOptions)
func WithArg1 ¶
func WithArg1(i int) ServiceOption
func WithArg2 ¶
func WithArg2(s string) ServiceOption
func WithArg3 ¶
func WithArg3(b bool) ServiceOption
type StubbedExit ¶
func WithStub ¶
func WithStub(f func()) *StubbedExit
func (*StubbedExit) UnStub ¶
func (s *StubbedExit) UnStub()
Click to show internal directories.
Click to hide internal directories.