SYMBOL INDEX (100 symbols across 9 files) FILE: apns_suite_test.go function TestApns (line 10) | func TestApns(t *testing.T) { FILE: badge_number.go type BadgeNumber (line 10) | type BadgeNumber struct method Unset (line 17) | func (b *BadgeNumber) Unset() { method Set (line 25) | func (b *BadgeNumber) Set(number uint) { method MarshalJSON (line 32) | func (b BadgeNumber) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 40) | func (b *BadgeNumber) UnmarshalJSON(data []byte) error { FILE: client.go type buffer (line 11) | type buffer struct method Add (line 20) | func (b *buffer) Add(v interface{}) *list.Element { function newBuffer (line 16) | func newBuffer(size int) *buffer { type Client (line 30) | type Client struct method Send (line 75) | func (c *Client) Send(n Notification) error { method reportFailedPush (line 80) | func (c *Client) reportFailedPush(v interface{}, err *Error) { method requeue (line 92) | func (c *Client) requeue(cursor *list.Element) { method handleError (line 102) | func (c *Client) handleError(err *Error, buffer *buffer) *list.Element { method runLoop (line 125) | func (c *Client) runLoop() { function newClientWithConn (line 38) | func newClientWithConn(gw string, conn Conn) Client { function NewClientWithCert (line 51) | func NewClientWithCert(gw string, cert tls.Certificate) Client { function NewClient (line 57) | func NewClient(gw string, cert string, key string) (Client, error) { function NewClientWithFiles (line 66) | func NewClientWithFiles(gw string, certFile string, keyFile string) (Cli... function readErrs (line 203) | func readErrs(c *Conn) chan error { FILE: conn.go constant ProductionGateway (line 10) | ProductionGateway = "gateway.push.apple.com:2195" constant SandboxGateway (line 11) | SandboxGateway = "gateway.sandbox.push.apple.com:2195" constant ProductionFeedbackGateway (line 13) | ProductionFeedbackGateway = "feedback.push.apple.com:2196" constant SandboxFeedbackGateway (line 14) | SandboxFeedbackGateway = "feedback.sandbox.push.apple.com:2196" type Conn (line 18) | type Conn struct method Connect (line 57) | func (c *Conn) Connect() error { method Close (line 78) | func (c *Conn) Close() error { method Read (line 87) | func (c *Conn) Read(p []byte) (int, error) { method Write (line 93) | func (c *Conn) Write(p []byte) (int, error) { function NewConnWithCert (line 26) | func NewConnWithCert(gw string, cert tls.Certificate) Conn { function NewConn (line 37) | func NewConn(gw string, crt string, key string) (Conn, error) { function NewConnWithFiles (line 47) | func NewConnWithFiles(gw string, certFile string, keyFile string) (Conn,... FILE: conn_test.go type mockAddr (line 70) | type mockAddr struct method Network (line 73) | func (m mockAddr) Network() string { method String (line 77) | func (m mockAddr) String() string { type mockTLSNetConn (line 82) | type mockTLSNetConn struct method Read (line 87) | func (t mockTLSNetConn) Read(p []byte) (int, error) { method Write (line 92) | func (t mockTLSNetConn) Write(p []byte) (int, error) { method Close (line 96) | func (t mockTLSNetConn) Close() error { method LocalAddr (line 100) | func (m mockTLSNetConn) LocalAddr() net.Addr { method RemoteAddr (line 104) | func (m mockTLSNetConn) RemoteAddr() net.Addr { method SetDeadline (line 108) | func (m mockTLSNetConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 112) | func (m mockTLSNetConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 116) | func (m mockTLSNetConn) SetWriteDeadline(t time.Time) error { type serverAction (line 120) | type serverAction struct constant readAction (line 127) | readAction = "read" constant writeAction (line 128) | writeAction = "write" constant closeAction (line 129) | closeAction = "close" type mockTLSServer (line 132) | type mockTLSServer struct method portStr (line 138) | func (m *mockTLSServer) portStr() string { method Address (line 147) | func (m *mockTLSServer) Address() string { method start (line 151) | func (m *mockTLSServer) start() { method stop (line 204) | func (m *mockTLSServer) stop() { FILE: error.go constant ErrProcessing (line 11) | ErrProcessing = "Processing error" constant ErrMissingDeviceToken (line 12) | ErrMissingDeviceToken = "Missing device token" constant ErrMissingTopic (line 13) | ErrMissingTopic = "Missing topic" constant ErrMissingPayload (line 14) | ErrMissingPayload = "Missing payload" constant ErrInvalidTokenSize (line 15) | ErrInvalidTokenSize = "Invalid token size" constant ErrInvalidTopicSize (line 16) | ErrInvalidTopicSize = "Invalid topic size" constant ErrInvalidPayloadSize (line 17) | ErrInvalidPayloadSize = "Invalid payload size" constant ErrInvalidToken (line 18) | ErrInvalidToken = "Invalid token" constant ErrShutdown (line 19) | ErrShutdown = "Shutdown" constant ErrUnknown (line 20) | ErrUnknown = "None (unknown)" type Error (line 36) | type Error struct method Error (line 63) | func (e *Error) Error() string { function NewError (line 43) | func NewError(p []byte) Error { FILE: example/example.go function main (line 10) | func main() { FILE: feedback.go type Feedback (line 11) | type Feedback struct method Receive (line 66) | func (f Feedback) Receive() <-chan FeedbackTuple { method receive (line 72) | func (f Feedback) receive(fc chan FeedbackTuple) { type FeedbackTuple (line 15) | type FeedbackTuple struct function feedbackTupleFromBytes (line 21) | func feedbackTupleFromBytes(b []byte) FeedbackTuple { function NewFeedbackWithCert (line 40) | func NewFeedbackWithCert(gw string, cert tls.Certificate) Feedback { function NewFeedback (line 46) | func NewFeedback(gw string, cert string, key string) (Feedback, error) { function NewFeedbackWithFiles (line 55) | func NewFeedbackWithFiles(gw string, certFile string, keyFile string) (F... FILE: notification.go constant PriorityImmediate (line 14) | PriorityImmediate = 10 constant PriorityPowerConserve (line 15) | PriorityPowerConserve = 5 constant commandID (line 19) | commandID = 2 constant deviceTokenItemID (line 22) | deviceTokenItemID = 1 constant payloadItemID (line 23) | payloadItemID = 2 constant notificationIdentifierItemID (line 24) | notificationIdentifierItemID = 3 constant expirationDateItemID (line 25) | expirationDateItemID = 4 constant priorityItemID (line 26) | priorityItemID = 5 constant deviceTokenItemLength (line 29) | deviceTokenItemLength = 32 constant notificationIdentifierItemLength (line 30) | notificationIdentifierItemLength = 4 constant expirationDateItemLength (line 31) | expirationDateItemLength = 4 constant priorityItemLength (line 32) | priorityItemLength = 1 type NotificationResult (line 35) | type NotificationResult struct type Alert (line 40) | type Alert struct method isSimple (line 51) | func (a *Alert) isSimple() bool { method isZero (line 55) | func (a *Alert) isZero() bool { type APS (line 59) | type APS struct method MarshalJSON (line 69) | func (aps APS) MarshalJSON() ([]byte, error) { type Payload (line 101) | type Payload struct method MarshalJSON (line 108) | func (p *Payload) MarshalJSON() ([]byte, error) { method SetCustomValue (line 118) | func (p *Payload) SetCustomValue(key string, value interface{}) error { type Notification (line 128) | type Notification struct method ToBinary (line 145) | func (n Notification) ToBinary() ([]byte, error) { function NewNotification (line 137) | func NewNotification() Notification { function NewPayload (line 141) | func NewPayload() *Payload {