Documentation ¶
Index ¶
- Constants
- func V11ReadAll(w http.ResponseWriter, r *http.Request)
- type TOASNV11
- func (asn TOASNV11) ASNExists(create bool) error
- func (as *TOASNV11) Create() (error, error, int)
- func (as *TOASNV11) Delete() (error, error, int)
- func (v *TOASNV11) DeleteQuery() string
- func (asn TOASNV11) GetAuditName() string
- func (asn TOASNV11) GetKeyFieldsInfo() []api.KeyFieldInfo
- func (asn TOASNV11) GetKeys() (map[string]interface{}, bool)
- func (v *TOASNV11) GetLastUpdated() (*time.Time, bool, error)
- func (asn TOASNV11) GetType() string
- func (v *TOASNV11) InsertQuery() string
- func (v *TOASNV11) NewReadObj() interface{}
- func (v *TOASNV11) ParamColumns() map[string]dbhelpers.WhereColumnInfo
- func (as *TOASNV11) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)
- func (v *TOASNV11) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string
- func (v *TOASNV11) SelectQuery() string
- func (asn *TOASNV11) SetKeys(keys map[string]interface{})
- func (v *TOASNV11) SetLastUpdated(t tc.TimeNoMod)
- func (as *TOASNV11) Update(h http.Header) (error, error, int)
- func (v *TOASNV11) UpdateQuery() string
- func (asn TOASNV11) Validate() error
Constants ¶
View Source
const ASNsPrivLevel = 10
ASNsPrivLevel ...
Variables ¶
This section is empty.
Functions ¶
func V11ReadAll ¶
func V11ReadAll(w http.ResponseWriter, r *http.Request)
V11ReadAll implements the asns 1.1 route, which is different from the 1.1 route for a single ASN and from 1.2+ routes, in that it wraps the content in an additional "asns" object.
Types ¶
type TOASNV11 ¶
type TOASNV11 struct { api.APIInfoImpl `json:"-"` tc.ASNNullable }
we need a type alias to define functions on
func (*TOASNV11) DeleteQuery ¶
func (TOASNV11) GetAuditName ¶
func (TOASNV11) GetKeyFieldsInfo ¶
func (asn TOASNV11) GetKeyFieldsInfo() []api.KeyFieldInfo
func (*TOASNV11) InsertQuery ¶
func (*TOASNV11) NewReadObj ¶
func (v *TOASNV11) NewReadObj() interface{}
func (*TOASNV11) ParamColumns ¶
func (v *TOASNV11) ParamColumns() map[string]dbhelpers.WhereColumnInfo
func (*TOASNV11) SelectMaxLastUpdatedQuery ¶
func (*TOASNV11) SelectQuery ¶
func (*TOASNV11) SetLastUpdated ¶
func (v *TOASNV11) SetLastUpdated(t tc.TimeNoMod)
func (*TOASNV11) UpdateQuery ¶
Click to show internal directories.
Click to hide internal directories.