Esempio n. 1
0
File: hsm.go Progetto: hhkbp2/go-hsm
func NewAnnotatedHSM(top, initial hsm.State) *AnnotatedHSM {
	return &AnnotatedHSM{
		StdHSM: hsm.NewStdHSM(HSMTypeAnnotated, top, initial),
	}
}
Esempio n. 2
0
File: hsm.go Progetto: hhkbp2/go-hsm
func NewCCommentHSM(top, initial hsm.State) *CCommentHSM {
	return &CCommentHSM{
		StdHSM:       hsm.NewStdHSM(HSMTypeCComment, top, initial),
		codeCharList: list.New(),
	}
}