Documentation ¶
Index ¶
Constants ¶
View Source
const ( AREA_SEOUL = 1 + iota AREA_BUSAN AREA_DAEGU AREA_INCHEON AREA_GWANGJU AREA_DAEJEON AREA_ULSAN AREA_SEJONG AREA_GYEONGGI AREA_GANGWON AREA_CHUNGBUK AREA_CHUNGNAM AREA_JEONBUK AREA_JEONNAM AREA_GYEONGBUK AREA_GYEONGNAM AREA_JEJ )
View Source
const ( LEVEL_KIDER = 1 + iota LEVEL_ELEMENTRY LEVEL_MIDDLE LEVEL_HIGH LEVEL_SPECIAL )
Variables ¶
View Source
var (
ErrInfoNotFound = errors.New("Cannot Find Data")
)
Functions ¶
func FindSchool ¶
FindSchool get school orgCode
Types ¶
type StudentInfo ¶
type StudentInfo struct { SchoolName string `json:"orgname"` Name string `json:"userName"` Token string `json:"token"` Birth string AreaURL string }
func GetStudnetInfo ¶
func GetStudnetInfo(area Area, orgCode, name, birth string) (*StudentInfo, error)
GetStudentInfo get student info struct
func (*StudentInfo) AllHealthy ¶
func (s *StudentInfo) AllHealthy() error
AllHealthy Send Servey all healthy
Click to show internal directories.
Click to hide internal directories.