Repository URL to install this package:
|
Version:
1.0 ▾
|
!<arch>
__.PKGDEF 0 0 0 644 13675 `
go object linux amd64 go1.6 X:none
build id "80776f81d616f22e05d2ebeade46137755e27903"
$$
package syslog
import errors "errors"
import fmt "fmt"
import sync "sync"
import os "os"
import log "log"
import time "time"
import net "net"
import strings "strings"
type @"".Priority int
const @"".LOG_EMERG @"".Priority = 0x0
const @"".LOG_ALERT @"".Priority = 0x1
const @"".LOG_CRIT @"".Priority = 0x2
const @"".LOG_ERR @"".Priority = 0x3
const @"".LOG_WARNING @"".Priority = 0x4
const @"".LOG_NOTICE @"".Priority = 0x5
const @"".LOG_INFO @"".Priority = 0x6
const @"".LOG_DEBUG @"".Priority = 0x7
const @"".LOG_KERN @"".Priority = 0x0
const @"".LOG_USER @"".Priority = 0x8
const @"".LOG_MAIL @"".Priority = 0x10
const @"".LOG_DAEMON @"".Priority = 0x18
const @"".LOG_AUTH @"".Priority = 0x20
const @"".LOG_SYSLOG @"".Priority = 0x28
const @"".LOG_LPR @"".Priority = 0x30
const @"".LOG_NEWS @"".Priority = 0x38
const @"".LOG_UUCP @"".Priority = 0x40
const @"".LOG_CRON @"".Priority = 0x48
const @"".LOG_AUTHPRIV @"".Priority = 0x50
const @"".LOG_FTP @"".Priority = 0x58
const @"".LOG_LOCAL0 @"".Priority = 0x80
const @"".LOG_LOCAL1 @"".Priority = 0x88
const @"".LOG_LOCAL2 @"".Priority = 0x90
const @"".LOG_LOCAL3 @"".Priority = 0x98
const @"".LOG_LOCAL4 @"".Priority = 0xa0
const @"".LOG_LOCAL5 @"".Priority = 0xa8
const @"".LOG_LOCAL6 @"".Priority = 0xb0
const @"".LOG_LOCAL7 @"".Priority = 0xb8
type @"sync".Mutex struct { @"sync".state int32; @"sync".sema uint32 }
func (@"sync".m·1 *@"sync".Mutex) Lock ()
func (@"sync".m·1 *@"sync".Mutex) Unlock ()
type @"".serverConn interface { @"".close() (? error); @"".writeString(@"".p @"".Priority, @"".hostname string, @"".tag string, @"".s string, @"".nl string) (? error) }
type @"".Writer struct { @"".priority @"".Priority; @"".tag string; @"".hostname string; @"".network string; @"".raddr string; @"".mu @"sync".Mutex; @"".conn @"".serverConn }
func (@"".w·2 *@"".Writer) Alert (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Close () (? error)
func (@"".w·2 *@"".Writer) Crit (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Debug (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Emerg (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Err (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Info (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Notice (@"".m·3 string) (@"".err·1 error)
func (@"".w·2 *@"".Writer) Warning (@"".m·3 string) (@"".err·1 error)
func (@"".w·3 *@"".Writer) Write (@"".b·4 []byte "esc:0x1") (? int, ? error)
func (@"".w·2 *@"".Writer "esc:0x9") @"".connect () (@"".err·1 error)
func (@"".w·3 *@"".Writer "esc:0x9") @"".write (@"".p·4 @"".Priority, @"".msg·5 string) (? int, ? error)
func (@"".w·3 *@"".Writer) @"".writeAndRetry (@"".p·4 @"".Priority, @"".s·5 string) (? int, ? error)
func @"".New (@"".priority·3 @"".Priority, @"".tag·4 string) (@"".w·1 *@"".Writer, @"".err·2 error)
func @"".Dial (@"".network·3 string, @"".raddr·4 string, @"".priority·5 @"".Priority, @"".tag·6 string) (? *@"".Writer, ? error)
import io "io" // indirect
type @"io".Writer interface { Write(@"io".p []byte) (@"io".n int, @"io".err error) }
type @"time".zone struct { @"time".name string; @"time".offset int; @"time".isDST bool }
type @"time".zoneTrans struct { @"time".when int64; @"time".index uint8; @"time".isstd bool; @"time".isutc bool }
type @"time".Location struct { @"time".name string; @"time".zone []@"time".zone; @"time".tx []@"time".zoneTrans; @"time".cacheStart int64; @"time".cacheEnd int64; @"time".cacheZone *@"time".zone }
func (@"time".l·2 *@"time".Location "esc:0x22") String () (? string)
func (@"time".l·2 *@"time".Location "esc:0x1") @"time".firstZoneUsed () (? bool)
func (@"time".l·2 *@"time".Location "esc:0x12") @"time".get () (? *@"time".Location)
func (@"time".l·6 *@"time".Location "esc:0x32") @"time".lookup (@"time".sec·7 int64) (@"time".name·1 string, @"time".offset·2 int, @"time".isDST·3 bool, @"time".start·4 int64, @"time".end·5 int64)
func (@"time".l·2 *@"time".Location "esc:0x1") @"time".lookupFirstZone () (? int)
func (@"time".l·4 *@"time".Location "esc:0x1") @"time".lookupName (@"time".name·5 string "esc:0x1", @"time".unix·6 int64) (@"time".offset·1 int, @"time".isDST·2 bool, @"time".ok·3 bool)
type @"time".Duration int64
func (@"time".d·2 @"time".Duration) Hours () (? float64) { var @"time".hour·3 @"time".Duration; ; @"time".hour·3 = @"time".d·2 / @"time".Duration(0x34630b8a000); var @"time".nsec·4 @"time".Duration; ; @"time".nsec·4 = @"time".d·2 % @"time".Duration(0x34630b8a000); return float64(@"time".hour·3) + float64(@"time".nsec·4) * float64(8190022623310637111963488201822504381538623676021880892417778544696899264837610290203272971060556344039023584360473938041055625214280336402169897364226048p-553) }
func (@"time".d·2 @"time".Duration) Minutes () (? float64) { var @"time".min·3 @"time".Duration; ; @"time".min·3 = @"time".d·2 / @"time".Duration(0xdf8475800); var @"time".nsec·4 @"time".Duration; ; @"time".nsec·4 = @"time".d·2 % @"time".Duration(0xdf8475800); return float64(@"time".min·3) + float64(@"time".nsec·4) * float64(7678146209353722106395056769533233877065564876941352542109479049699919628723768656821910653339403201031675627614471533358284117434246264392176261853609984p-547) }
func (@"time".d·2 @"time".Duration) Nanoseconds () (? int64) { return int64(@"time".d·2) }
func (@"time".d·2 @"time".Duration) Seconds () (? float64) { var @"time".sec·3 @"time".Duration; ; @"time".sec·3 = @"time".d·2 / @"time".Duration(0x3b9aca00); var @"time".nsec·4 @"time".Duration; ; @"time".nsec·4 = @"time".d·2 % @"time".Duration(0x3b9aca00); return float64(@"time".sec·3) + float64(@"time".nsec·4) * float64(7198262071269114660816079141112770740375861891461678802759824945047098083990024106014198994535558872472104883612039846078596891298747423852523262413111296p-541) }
func (@"time".d·2 @"time".Duration) String () (? string)
type @"time".Month int
func (@"time".m·2 @"time".Month) String () (? string) { return @"time".months[@"time".m·2 - @"time".Month(0x1)] }
type @"time".Weekday int
func (@"time".d·2 @"time".Weekday) String () (? string) { return @"time".days[@"time".d·2] }
type @"time".Time struct { @"time".sec int64; @"time".nsec int32; @"time".loc *@"time".Location }
func (@"time".t·2 @"time".Time "esc:0x12") Add (@"time".d·3 @"time".Duration) (? @"time".Time) { @"time".t·2.@"time".sec += int64(@"time".d·3 / @"time".Duration(0x3b9aca00)); var @"time".nsec·4 int32; ; @"time".nsec·4 = int32(@"time".t·2.@"time".nsec) + int32(@"time".d·3 % @"time".Duration(0x3b9aca00)); if @"time".nsec·4 >= int32(0x3b9aca00) { @"time".t·2.@"time".sec++; @"time".nsec·4 -= int32(0x3b9aca00) } else { if @"time".nsec·4 < int32(0x0) { @"time".t·2.@"time".sec--; @"time".nsec·4 += int32(0x3b9aca00) } }; @"time".t·2.@"time".nsec = @"time".nsec·4; return @"time".t·2 }
func (@"time".t·2 @"time".Time "esc:0x12") AddDate (@"time".years·3 int, @"time".months·4 int, @"time".days·5 int) (? @"time".Time)
func (@"time".t·2 @"time".Time "esc:0x1") After (@"time".u·3 @"time".Time "esc:0x1") (? bool) { return @"time".t·2.@"time".sec > @"time".u·3.@"time".sec || @"time".t·2.@"time".sec == @"time".u·3.@"time".sec && @"time".t·2.@"time".nsec > @"time".u·3.@"time".nsec }
func (@"time".t·2 @"time".Time "esc:0x9") AppendFormat (@"time".b·3 []byte "esc:0x1a", @"time".layout·4 string "esc:0x9") (? []byte)
func (@"time".t·2 @"time".Time "esc:0x1") Before (@"time".u·3 @"time".Time "esc:0x1") (? bool) { return @"time".t·2.@"time".sec < @"time".u·3.@"time".sec || @"time".t·2.@"time".sec == @"time".u·3.@"time".sec && @"time".t·2.@"time".nsec < @"time".u·3.@"time".nsec }
func (@"time".t·4 @"time".Time "esc:0x1") Clock () (@"time".hour·1 int, @"time".min·2 int, @"time".sec·3 int)
func (@"time".t·4 @"time".Time "esc:0x1") Date () (@"time".year·1 int, @"time".month·2 @"time".Month, @"time".day·3 int)
func (@"time".t·2 @"time".Time "esc:0x1") Day () (? int)
func (@"time".t·2 @"time".Time "esc:0x1") Equal (@"time".u·3 @"time".Time "esc:0x1") (? bool) { return @"time".t·2.@"time".sec == @"time".u·3.@"time".sec && @"time".t·2.@"time".nsec == @"time".u·3.@"time".nsec }
func (@"time".t·2 @"time".Time "esc:0x9") Format (@"time".layout·3 string "esc:0x9") (? string)
func (@"time".t·2 *@"time".Time "esc:0x1") GobDecode (@"time".data·3 []byte "esc:0x1") (? error)
func (@"time".t·3 @"time".Time "esc:0x1") GobEncode () (? []byte, ? error)
func (@"time".t·2 @"time".Time "esc:0x1") Hour () (? int)
func (@"time".t·3 @"time".Time "esc:0x1") ISOWeek () (@"time".year·1 int, @"time".week·2 int)
func (@"time".t·2 @"time".Time "esc:0x12") In (@"time".loc·3 *@"time".Location "esc:0x12") (? @"time".Time)
func (@"time".t·2 @"time".Time "esc:0x1") IsZero () (? bool) { return @"time".t·2.@"time".sec == int64(0x0) && @"time".t·2.@"time".nsec == int32(0x0) }
func (@"time".t·2 @"time".Time "esc:0x12") Local () (? @"time".Time) { @"time".t·2.@"time".loc = @"time".Local; return @"time".t·2 }
func (@"time".t·2 @"time".Time "esc:0x12") Location () (? *@"time".Location) { var @"time".l·3 *@"time".Location; ; @"time".l·3 = @"time".t·2.@"time".loc; if @"time".l·3 == nil { @"time".l·3 = @"time".UTC }; return @"time".l·3 }
func (@"time".t·3 @"time".Time "esc:0x1") MarshalBinary () (? []byte, ? error)
func (@"time".t·3 @"time".Time "esc:0x9") MarshalJSON () (? []byte, ? error)
func (@"time".t·3 @"time".Time "esc:0x9") MarshalText () (? []byte, ? error)
func (@"time".t·2 @"time".Time "esc:0x1") Minute () (? int)
func (@"time".t·2 @"time".Time "esc:0x1") Month () (? @"time".Month)
func (@"time".t·2 @"time".Time "esc:0x1") Nanosecond () (? int) { return int(@"time".t·2.@"time".nsec) }
func (@"time".t·2 @"time".Time "esc:0x12") Round (@"time".d·3 @"time".Duration) (? @"time".Time)
func (@"time".t·2 @"time".Time "esc:0x1") Second () (? int)
func (@"time".t·2 @"time".Time "esc:0x9") String () (? string)
func (@"time".t·2 @"time".Time "esc:0x1") Sub (@"time".u·3 @"time".Time "esc:0x1") (? @"time".Duration)
func (@"time".t·2 @"time".Time "esc:0x12") Truncate (@"time".d·3 @"time".Duration) (? @"time".Time)
func (@"time".t·2 @"time".Time "esc:0x12") UTC () (? @"time".Time) { @"time".t·2.@"time".loc = @"time".UTC; return @"time".t·2 }
func (@"time".t·2 @"time".Time "esc:0x1") Unix () (? int64) { return @"time".t·2.@"time".sec + int64(-0xe7791f700) }
func (@"time".t·2 @"time".Time "esc:0x1") UnixNano () (? int64) { return (@"time".t·2.@"time".sec + int64(-0xe7791f700)) * int64(0x3b9aca00) + int64(@"time".t·2.@"time".nsec) }
func (@"time".t·2 *@"time".Time "esc:0x1") UnmarshalBinary (@"time".data·3 []byte "esc:0x1") (? error)
func (@"time".t·2 *@"time".Time "esc:0x1") UnmarshalJSON (@"time".data·3 []byte "esc:0x1") (@"time".err·1 error)
func (@"time".t·2 *@"time".Time "esc:0x1") UnmarshalText (@"time".data·3 []byte "esc:0x1") (@"time".err·1 error)
func (@"time".t·2 @"time".Time "esc:0x1") Weekday () (? @"time".Weekday)
func (@"time".t·2 @"time".Time "esc:0x1") Year () (? int)
func (@"time".t·2 @"time".Time "esc:0x1") YearDay () (? int)
func (@"time".t·3 @"time".Time "esc:0x32") Zone () (@"time".name·1 string, @"time".offset·2 int)
func (@"time".t·2 @"time".Time "esc:0x1") @"time".abs () (? uint64)
func (@"time".t·5 @"time".Time "esc:0x1") @"time".date (@"time".full·6 bool) (@"time".year·1 int, @"time".month·2 @"time".Month, @"time".day·3 int, @"time".yday·4 int)
func (@"time".t·4 @"time".Time "esc:0x32") @"time".locabs () (@"time".name·1 string, @"time".offset·2 int, @"time".abs·3 uint64)
type @"log".Logger struct { @"log".mu @"sync".Mutex; @"log".prefix string; @"log".flag int; @"log".out @"io".Writer; @"log".buf []byte }
func (@"log".l·1 *@"log".Logger) Fatal (@"log".v·2 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) Fatalf (@"log".format·2 string "esc:0x9", @"log".v·3 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) Fatalln (@"log".v·2 ...interface {} "esc:0x9")
func (@"log".l·2 *@"log".Logger) Flags () (? int)
func (@"log".l·2 *@"log".Logger) Output (@"log".calldepth·3 int, @"log".s·4 string "esc:0x9") (? error)
func (@"log".l·1 *@"log".Logger) Panic (@"log".v·2 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) Panicf (@"log".format·2 string "esc:0x9", @"log".v·3 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) Panicln (@"log".v·2 ...interface {} "esc:0x9")
func (@"log".l·2 *@"log".Logger) Prefix () (? string)
func (@"log".l·1 *@"log".Logger) Print (@"log".v·2 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) Printf (@"log".format·2 string "esc:0x9", @"log".v·3 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) Println (@"log".v·2 ...interface {} "esc:0x9")
func (@"log".l·1 *@"log".Logger) SetFlags (@"log".flag·2 int)
func (@"log".l·1 *@"log".Logger) SetOutput (@"log".w·2 @"io".Writer)
func (@"log".l·1 *@"log".Logger) SetPrefix (@"log".prefix·2 string)
func (@"log".l·1 *@"log".Logger "esc:0x9") @"log".formatHeader (@"log".buf·2 *[]byte "esc:0x9", @"log".t·3 @"time".Time "esc:0x1", @"log".file·4 string "esc:0x9", @"log".line·5 int)
func @"".NewLogger (@"".p·3 @"".Priority, @"".logFlag·4 int) (? *@"log".Logger, ? error)
func @"".init ()
var @"time".months [12]string
var @"time".days [7]string
var @"time".Local *@"time".Location
var @"time".UTC *@"time".Location
$$
_go_.o 0 0 0 644 74716 `
go object linux amd64 go1.6 X:none
!
go13lderrors.a
fmt.a
log.a
net.aos.astrings.async.atime.a þ"".New dH% H;avuHìP1Û1ÛH\$xH$ 1ÛH$H\$1ÛH\$H\$H\$XH\$ H\$`H\$(H\$hH\$0è HT$8HL$@HD$HHT$pHL$xH$ HÄPÃè érÿÿÿÌÌ
´ "".Dial 0runtime.morestack_noctxt ` "".err @type.error "".w 0type.*"".Writer "".tag type.string "".priority type."".Priority p
Ö$`
Y7 Tgclocals·829d8fcb01908ea01565408e3bde2522 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/log/syslog/syslog.goþ"".Dial dH% HD$øH;Aà Hì H$° HDŽ$È 1ÛH$Ð H$Ø Hø ° H=¿ ¤ H$À Hû u,H H= z H+H¬$¸ HkH¬$À è H$H\$XH\$H\$`H H$è H|$HøHÿ " WÀHÇàè H¬$° H(HD$(H¬$À HhH¬$¸ =
É HhHl$`Hh Hl$X=
HhH¬$ Hh0H¬$ =
M Hh(H¬$¨ Hh@H¬$ =
Hh8HD$ H$H<$ è H$Hè H\$ H\$H|$ ¼ HD$HÇ$ H HD$è ø
H\$ H$è HL$HT$Hù t4HDŽ$È HL$hH$Ð HT$pH$Ø è HĈ ÃH\$ H$È HL$hH$Ð HT$pH$Ø è HĈ Ðè HĈ É% é8ÿÿÿ% éÿÿÿL@8L$Hl$è HD$(éÜþÿÿL@(L$Hl$è HD$(éþÿÿL@L$Hl$è HD$(éZþÿÿL@L$Hl$è HD$(éþÿÿé×ýÿÿè H H\$HHÇD$P 1ÛH\$8H\$@H H$è HL$HL$0Hl$PHiHl$H=
H)HL$0H
1íH9étFHT$0HL$xH$ HDŽ$È HL$8H$Ð HT$@H$Ø è HĈ ÃH H$H H\$H H\$è HL$ëH$Hl$è HL$0é`ÿÿÿè éþûÿÿÌÌÌÌÌÌÌÌÌÌÌÌÌÌF
Ø os.Args æ os.Args ¬ os.Hostname à type."".Writer ò "runtime.newobject ®¢ runtime.duffzero (runtime.writeBarrier À (runtime.writeBarrier (runtime.writeBarrier Ô (runtime.writeBarrier ¦ $sync.(*Mutex).Lock ú .sync.(*Mutex).Unlock·f "runtime.deferproc ¼ ("".(*Writer).connect ´ &runtime.deferreturn &runtime.deferreturn º &runtime.deferreturn
.runtime.writebarrierptr Ö
.runtime.writebarrierptr .runtime.writebarrierptr Æ .runtime.writebarrierptr ò $runtime.panicindex Pgo.string."log/syslog: invalid priority" Æ .type.errors.errorString Ø "runtime.newobject
(runtime.writeBarrier À
Bgo.itab.*errors.errorString.error Ê &runtime.deferreturn è 0type.*errors.errorString þ type.error Bgo.itab.*errors.errorString.error ª runtime.typ2Itab Ô .runtime.writebarrierptr ò 0runtime.morestack_noctxt "".autotmp_0006 ¿type.*"".Writer "".autotmp_0004 type.error "".autotmp_0003 ¯0type.*errors.errorString "".autotmp_0002 0type.*errors.errorString "".~r0 type.error errors.text·2 type.string "".err ?type.error "".w Ïtype.*"".Writer "".hostname _type.string "".~r5 type.error "".~r4 ptype.*"".Writer "".tag Ptype.string "".priority @ type."".Priority "".raddr type.string "".network type.string F4
ÇG XèE,Ì=45[ù 6 #ÚK; vT3x1<