asn

package
v5.1.6+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 10 Imported by: 0

Documentation

Index

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) ASNExists

func (asn TOASNV11) ASNExists(create bool) error

func (*TOASNV11) Create

func (as *TOASNV11) Create() (error, error, int)

func (*TOASNV11) Delete

func (as *TOASNV11) Delete() (error, error, int)

func (*TOASNV11) DeleteQuery

func (v *TOASNV11) DeleteQuery() string

func (TOASNV11) GetAuditName

func (asn TOASNV11) GetAuditName() string

func (TOASNV11) GetKeyFieldsInfo

func (asn TOASNV11) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TOASNV11) GetKeys

func (asn TOASNV11) GetKeys() (map[string]interface{}, bool)

func (*TOASNV11) GetLastUpdated

func (v *TOASNV11) GetLastUpdated() (*time.Time, bool, error)

func (TOASNV11) GetType

func (asn TOASNV11) GetType() string

func (*TOASNV11) InsertQuery

func (v *TOASNV11) InsertQuery() string

func (*TOASNV11) NewReadObj

func (v *TOASNV11) NewReadObj() interface{}

func (*TOASNV11) ParamColumns

func (v *TOASNV11) ParamColumns() map[string]dbhelpers.WhereColumnInfo

func (*TOASNV11) Read

func (as *TOASNV11) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)

func (*TOASNV11) SelectMaxLastUpdatedQuery

func (v *TOASNV11) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string

func (*TOASNV11) SelectQuery

func (v *TOASNV11) SelectQuery() string

func (*TOASNV11) SetKeys

func (asn *TOASNV11) SetKeys(keys map[string]interface{})

func (*TOASNV11) SetLastUpdated

func (v *TOASNV11) SetLastUpdated(t tc.TimeNoMod)

func (*TOASNV11) Update

func (as *TOASNV11) Update(h http.Header) (error, error, int)

func (*TOASNV11) UpdateQuery

func (v *TOASNV11) UpdateQuery() string

func (TOASNV11) Validate

func (asn TOASNV11) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL