type github.com/jackc/pgx/v5/pgtype.InetCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
inet.go#L29: type InetCodec struct{}
inet.go#L31: func (InetCodec) FormatSupported(format int16) bool {
inet.go#L35: func (InetCodec) PreferredFormat() int16 {
inet.go#L39: func (InetCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
inet.go#L109: func (InetCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
inet.go#L126: func (c InetCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
inet.go#L130: func (c InetCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype_default.go#L58: defaultMap.RegisterType(&Type{Name: "cidr", OID: CIDROID, Codec: InetCodec{}})
pgtype_default.go#L63: defaultMap.RegisterType(&Type{Name: "inet", OID: InetOID, Codec: InetCodec{}})