Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidRUT = errors.New("invalid rut")
View Source
var ErrInvalidVD = errors.New("invalid verification figit")
Functions ¶
This section is empty.
Types ¶
type DefaultService ¶
type DefaultService struct {
// contains filtered or unexported fields
}
func NewDefaultService ¶
func NewDefaultService() *DefaultService
func (*DefaultService) GetProfile ¶
func (s *DefaultService) GetProfile(rut RUT) (*SIIProfile, error)
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Activity ¶
func (h *Handler) Activity() gin.HandlerFunc
func (*Handler) Generate ¶
func (h *Handler) Generate() gin.HandlerFunc
func (*Handler) VD ¶
func (h *Handler) VD() gin.HandlerFunc
func (*Handler) Validate ¶
func (h *Handler) Validate() gin.HandlerFunc
type SIIProfile ¶
type Service ¶
type Service interface {
GetProfile(rut RUT) (*SIIProfile, error)
}
Click to show internal directories.
Click to hide internal directories.