overflow_proxy_service/proxy/member_service.go
2017-05-25 19:08:03 +09:00

42 lines
783 B
Go

package proxy
import "log"
type MemberService struct {
Email string `json:"email"`
PwSalt string `json:"pwSalt"`
Name string `json:"name"`
Company string `json:"company"`
Phone string `json:"phone"`
}
func NewMember() *MemberService {
m := MemberService{}
return &m
}
func (m *MemberService) Regist() (string){
log.Println("Call Regist", m.Email, m.PwSalt)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Read() (string){
log.Println("Call Read", m.Email)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Modify() (string){
log.Println("Call Modify", m.Email, "::", m.PwSalt)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Remove() (string){
log.Println("Call Remove", m.Email)
// Todo Call DB Gateway
return ""
}