38 lines
675 B
Go
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 ""
|
|
}
|