Include types from gonavitia/navitia
This commit is contained in:
parent
82769f923e
commit
24b1102761
157 changed files with 26062 additions and 116 deletions
9
types/channel.go
Normal file
9
types/channel.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
package types
|
||||
|
||||
// A Channel is a destination media for a message.
|
||||
type Channel struct {
|
||||
ID ID `json:"id"` // ID of the address
|
||||
ContentType string `json:"content_type"` // Content Type (text/html etc.) RFC1341.4
|
||||
Name string `json:"name"` // Name of the channel
|
||||
Types []string `json:"types,omitempty"` // Types ?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue