Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Allowlist ¶
type Allowlist struct {
// optional
ModifiedAt string `json:"modified_at"`
// required: the domains to allow
Domains []Domain `json:"domains"`
}
func NewAllowlistCSV ¶
func NewAllowlistCSV(r *io.LimitedReader) (*Allowlist, error)
func NewAllowlistJSON ¶
type Domain ¶
type Domain struct {
// required: the domain to allow
Domain string `json:"domain"`
// optional: when the domain initially joined
JoinedAt string `json:"joined_at"`
// optional: point of contact(s) for the domain
AdminUsers string `json:"admin_users"`
// optional: any additional comments
Comment string `json:"comment"`
}
Click to show internal directories.
Click to hide internal directories.