Debian Codegraph @

server/contacts.go

raw
1 package server
2
3 import (
4 "net/http"
5
6 "github.com/gin-gonic/gin"
7 "github.com/henrybear327/go-proton-api"
8 )
9
10 func (s *Server) handleGetContactsEmails() gin.HandlerFunc {
11 return func(c *gin.Context) {
12 c.JSON(http.StatusOK, gin.H{
13 "ContactEmails": []proton.ContactEmail{},
14 })
15 }
16 }