overflow_proxy_service/proxy/member_service.go
2017-05-24 15:34:41 +09:00

38 lines
675 B
Go

package proxy
import "log"
type MemberService struct {
Email string `json:"email"`
Pw string `json:"pw"`
}
func NewMember() *MemberService {
m := MemberService{}
return &m
}
func (m *MemberService) Regist() (string){
log.Println("Call Regist", m.Email, m.Pw)
// 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.Pw)
// Todo Call DB Gateway
return ""
}
func (m *MemberService) Remove() (string){
log.Println("Call Remove", m.Email)
// Todo Call DB Gateway
return ""
}