Documentation
¶
Index ¶
- Constants
- Variables
- func Migrate(dsn string) (uint, error)
- func ProtoCategoryContains(protocols []string, category string) bool
- func ProtoToCategory(proto string) string
- func RunInTx[T any](ctx context.Context, db *DB, ...) (*T, error)
- type AuditActorMetadata
- type AuditRecord
- type AuditRecordActionType
- type AuditRecordResourceType
- type AuditRecordSourceType
- type AuditRecordsCreateParams
- type AuditRecordsListParams
- type AuditResource
- type DB
- type DBTX
- type DNSRecord
- type DNSRecordType
- type DNSRecordsCreateParams
- type DNSRecordsGetByPayloadNameAndTypeParams
- type DNSRecordsUpdateParams
- type DNSStrategy
- type Event
- type EventsCreateParams
- type EventsGetByPayloadAndIndexRow
- type EventsListByPayloadIDParams
- type EventsListByPayloadIDRow
- type EventsMeta
- type HTTPHeaders
- type HTTPRoute
- type HTTPRoutesCreateParams
- type HTTPRoutesGetByPayloadMethodAndPathParams
- type HTTPRoutesUpdateParams
- type NullAuditRecordActionType
- type NullAuditRecordResourceType
- type NullAuditRecordSourceType
- type NullDNSRecordType
- type NullDNSStrategy
- type Payload
- type PayloadsCreateParams
- type PayloadsFindByUserAndNameParams
- type PayloadsUpdateParams
- type Querier
- type Queries
- func (q *Queries) AuditRecordsCreate(ctx context.Context, arg AuditRecordsCreateParams) (*AuditRecord, error)
- func (q *Queries) AuditRecordsGetByID(ctx context.Context, id int64) (*AuditRecord, error)
- func (q *Queries) AuditRecordsList(ctx context.Context, arg AuditRecordsListParams) ([]*AuditRecord, error)
- func (q *Queries) DNSRecordsCreate(ctx context.Context, arg DNSRecordsCreateParams) (*DNSRecord, error)
- func (q *Queries) DNSRecordsDelete(ctx context.Context, id *int64) error
- func (q *Queries) DNSRecordsDeleteAllByPayloadID(ctx context.Context, payloadID int64) ([]*DNSRecord, error)
- func (q *Queries) DNSRecordsDeleteAllByPayloadIDAndName(ctx context.Context, payloadID int64, name string) ([]*DNSRecord, error)
- func (q *Queries) DNSRecordsGetByID(ctx context.Context, id *int64) (*DNSRecord, error)
- func (q *Queries) DNSRecordsGetByPayloadID(ctx context.Context, payloadID int64) ([]*DNSRecord, error)
- func (q *Queries) DNSRecordsGetByPayloadIDAndIndex(ctx context.Context, payloadID int64, index int) (*DNSRecord, error)
- func (q *Queries) DNSRecordsGetByPayloadNameAndType(ctx context.Context, arg DNSRecordsGetByPayloadNameAndTypeParams) (*DNSRecord, error)
- func (q *Queries) DNSRecordsGetCountByPayloadID(ctx context.Context, payloadID int64) (int64, error)
- func (q *Queries) DNSRecordsUpdate(ctx context.Context, arg DNSRecordsUpdateParams) (*DNSRecord, error)
- func (q *Queries) EventsCreate(ctx context.Context, arg EventsCreateParams) (*Event, error)
- func (q *Queries) EventsGetByID(ctx context.Context, id int64) (*Event, error)
- func (q *Queries) EventsGetByPayloadAndIndex(ctx context.Context, payloadID int64, index int64) (*EventsGetByPayloadAndIndexRow, error)
- func (q *Queries) EventsListByPayloadID(ctx context.Context, arg EventsListByPayloadIDParams) ([]*EventsListByPayloadIDRow, error)
- func (q *Queries) HTTPRoutesCreate(ctx context.Context, arg HTTPRoutesCreateParams) (*HTTPRoute, error)
- func (q *Queries) HTTPRoutesDelete(ctx context.Context, id int64) error
- func (q *Queries) HTTPRoutesDeleteAllByPayloadID(ctx context.Context, payloadID int64) ([]*HTTPRoute, error)
- func (q *Queries) HTTPRoutesDeleteAllByPayloadIDAndPath(ctx context.Context, payloadID int64, path string) ([]*HTTPRoute, error)
- func (q *Queries) HTTPRoutesGetByID(ctx context.Context, id int64) (*HTTPRoute, error)
- func (q *Queries) HTTPRoutesGetByPayloadID(ctx context.Context, payloadID int64) ([]*HTTPRoute, error)
- func (q *Queries) HTTPRoutesGetByPayloadIDAndIndex(ctx context.Context, payloadID int64, index int) (*HTTPRoute, error)
- func (q *Queries) HTTPRoutesGetByPayloadMethodAndPath(ctx context.Context, arg HTTPRoutesGetByPayloadMethodAndPathParams) (*HTTPRoute, error)
- func (q *Queries) HTTPRoutesUpdate(ctx context.Context, arg HTTPRoutesUpdateParams) (*HTTPRoute, error)
- func (q *Queries) PayloadsCreate(ctx context.Context, arg PayloadsCreateParams) (*Payload, error)
- func (q *Queries) PayloadsDelete(ctx context.Context, id int64) (*Payload, error)
- func (q *Queries) PayloadsDeleteByNamePart(ctx context.Context, userID int64, name string) ([]*Payload, error)
- func (q *Queries) PayloadsFindByUserAndName(ctx context.Context, arg PayloadsFindByUserAndNameParams) ([]*Payload, error)
- func (q *Queries) PayloadsFindByUserID(ctx context.Context, userID int64) ([]*Payload, error)
- func (q *Queries) PayloadsGetAllSubdomains(ctx context.Context) ([]string, error)
- func (q *Queries) PayloadsGetByID(ctx context.Context, id int64) (*Payload, error)
- func (q *Queries) PayloadsGetBySubdomain(ctx context.Context, subdomain string) (*Payload, error)
- func (q *Queries) PayloadsGetByUserAndName(ctx context.Context, userID int64, name string) (*Payload, error)
- func (q *Queries) PayloadsUpdate(ctx context.Context, arg PayloadsUpdateParams) (*Payload, error)
- func (q *Queries) UsersCreate(ctx context.Context, arg UsersCreateParams) (*User, error)
- func (q *Queries) UsersDelete(ctx context.Context, id int64) error
- func (q *Queries) UsersGetByAPIToken(ctx context.Context, token string) (*User, error)
- func (q *Queries) UsersGetByID(ctx context.Context, id int64) (*User, error)
- func (q *Queries) UsersGetByLarkID(ctx context.Context, id string) (*User, error)
- func (q *Queries) UsersGetByName(ctx context.Context, name string) (*User, error)
- func (q *Queries) UsersGetBySlackID(ctx context.Context, id string) (*User, error)
- func (q *Queries) UsersGetByTelegramID(ctx context.Context, id int64) (*User, error)
- func (q *Queries) UsersList(ctx context.Context) ([]*User, error)
- func (q *Queries) UsersUpdate(ctx context.Context, arg UsersUpdateParams) (*User, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type User
- type UsersCreateParams
- type UsersUpdateParams
Constants ¶
View Source
const ( ProtoDNS = "dns" ProtoHTTP = "http" ProtoHTTPS = "https" ProtoSMTP = "smtp" ProtoFTP = "ftp" ProtoCategoryDNS = "dns" ProtoCategoryHTTP = "http" ProtoCategorySMTP = "smtp" ProtoCategoryFTP = "ftp" )
View Source
const HTTPMethodAny = "ANY"
Variables ¶
View Source
var DNSStrategiesAll = func() []string { vals := AllDNSStrategyValues() res := make([]string, len(vals)) for i, v := range vals { res[i] = string(v) } return res }()
TODO: cleanup
View Source
var DNSTypesAll = func() []string { vals := AllDNSRecordTypeValues() res := make([]string, len(vals)) for i, v := range vals { res[i] = string(v) } return res }()
TODO: cleanup
View Source
var ErrNoRows = pgx.ErrNoRows
View Source
var HTTPMethods = []string{ http.MethodGet, http.MethodHead, http.MethodPost, http.MethodPut, http.MethodPatch, http.MethodDelete, http.MethodConnect, http.MethodOptions, http.MethodTrace, HTTPMethodAny, }
View Source
var ProtoCategoriesAll = []string{ ProtoCategoryDNS, ProtoCategoryHTTP, ProtoCategorySMTP, ProtoCategoryFTP, }
Functions ¶
func ProtoCategoryContains ¶
func ProtoToCategory ¶
Types ¶
type AuditActorMetadata ¶
type AuditRecord ¶
type AuditRecord struct {
ID int64 `db:"id"`
UUID uuid.UUID `db:"uuid"`
CreatedAt time.Time `db:"created_at"`
Action AuditRecordActionType `db:"action"`
ResourceType AuditRecordResourceType `db:"resource_type"`
Source AuditRecordSourceType `db:"source"`
ActorID *int64 `db:"actor_id"`
ActorName string `db:"actor_name"`
ActorMetadata AuditActorMetadata `db:"actor_metadata"`
Resource AuditResource `db:"resource"`
}
type AuditRecordActionType ¶
type AuditRecordActionType string
const ( AuditRecordActionTypeCreate AuditRecordActionType = "create" AuditRecordActionTypeUpdate AuditRecordActionType = "update" AuditRecordActionTypeDelete AuditRecordActionType = "delete" )
func AllAuditRecordActionTypeValues ¶
func AllAuditRecordActionTypeValues() []AuditRecordActionType
func (*AuditRecordActionType) Scan ¶
func (e *AuditRecordActionType) Scan(src interface{}) error
type AuditRecordResourceType ¶
type AuditRecordResourceType string
const ( AuditRecordResourceTypePayload AuditRecordResourceType = "payload" AuditRecordResourceTypeUser AuditRecordResourceType = "user" AuditRecordResourceTypeDNSRecord AuditRecordResourceType = "dns_record" AuditRecordResourceTypeHTTPRoute AuditRecordResourceType = "http_route" )
func AllAuditRecordResourceTypeValues ¶
func AllAuditRecordResourceTypeValues() []AuditRecordResourceType
func (*AuditRecordResourceType) Scan ¶
func (e *AuditRecordResourceType) Scan(src interface{}) error
type AuditRecordSourceType ¶
type AuditRecordSourceType string
const ( AuditRecordSourceTypeAPI AuditRecordSourceType = "api" AuditRecordSourceTypeTelegram AuditRecordSourceType = "telegram" AuditRecordSourceTypeLark AuditRecordSourceType = "lark" AuditRecordSourceTypeSlack AuditRecordSourceType = "slack" )
func AllAuditRecordSourceTypeValues ¶
func AllAuditRecordSourceTypeValues() []AuditRecordSourceType
func (*AuditRecordSourceType) Scan ¶
func (e *AuditRecordSourceType) Scan(src interface{}) error
type AuditRecordsCreateParams ¶
type AuditRecordsCreateParams struct {
Action AuditRecordActionType `db:"action"`
ResourceType AuditRecordResourceType `db:"resource_type"`
Source AuditRecordSourceType `db:"source"`
ActorID *int64 `db:"actor_id"`
ActorName string `db:"actor_name"`
ActorMetadata AuditActorMetadata `db:"actor_metadata"`
Resource AuditResource `db:"resource"`
}
type AuditRecordsListParams ¶
type AuditRecordsListParams struct {
ActorID *int64 `db:"actor_id"`
ActorName string `db:"actor_name"`
ResourceType string `db:"resource_type"`
Action string `db:"action"`
FromAt *time.Time `db:"from_at"`
ToAt *time.Time `db:"to_at"`
PageOffset int64 `db:"page_offset"`
PageLimit int64 `db:"page_limit"`
}
type AuditResource ¶
type AuditResource = json.RawMessage
type DNSRecord ¶
type DNSRecord struct {
ID *int64 `db:"id"`
PayloadID int64 `db:"payload_id"`
Name string `db:"name"`
Type DNSRecordType `db:"type"`
TTL int `db:"ttl"`
Values []string `db:"values"`
Strategy DNSStrategy `db:"strategy"`
LastAnswer []string `db:"last_answer"`
LastAccessedAt *time.Time `db:"last_accessed_at"`
CreatedAt time.Time `db:"created_at"`
Index int `db:"index"`
}
type DNSRecordType ¶
type DNSRecordType string
const ( DNSRecordTypeA DNSRecordType = "A" DNSRecordTypeAAAA DNSRecordType = "AAAA" DNSRecordTypeMX DNSRecordType = "MX" DNSRecordTypeTXT DNSRecordType = "TXT" DNSRecordTypeCNAME DNSRecordType = "CNAME" DNSRecordTypeNS DNSRecordType = "NS" DNSRecordTypeCAA DNSRecordType = "CAA" )
func AllDNSRecordTypeValues ¶
func AllDNSRecordTypeValues() []DNSRecordType
func (*DNSRecordType) Scan ¶
func (e *DNSRecordType) Scan(src interface{}) error
type DNSRecordsCreateParams ¶
type DNSRecordsCreateParams struct {
PayloadID int64 `db:"payload_id"`
Name string `db:"name"`
Type DNSRecordType `db:"type"`
TTL int `db:"ttl"`
Values []string `db:"values"`
Strategy DNSStrategy `db:"strategy"`
LastAnswer []string `db:"last_answer"`
LastAccessedAt *time.Time `db:"last_accessed_at"`
}
type DNSRecordsGetByPayloadNameAndTypeParams ¶
type DNSRecordsGetByPayloadNameAndTypeParams struct {
PayloadID int64 `db:"payload_id"`
Name string `db:"name"`
Type DNSRecordType `db:"type"`
}
type DNSRecordsUpdateParams ¶
type DNSRecordsUpdateParams struct {
ID *int64 `db:"id"`
PayloadID int64 `db:"payload_id"`
Name string `db:"name"`
Type DNSRecordType `db:"type"`
TTL int `db:"ttl"`
Values []string `db:"values"`
Strategy DNSStrategy `db:"strategy"`
LastAnswer []string `db:"last_answer"`
LastAccessedAt *time.Time `db:"last_accessed_at"`
}
type DNSStrategy ¶
type DNSStrategy string
const ( DNSStrategyAll DNSStrategy = "all" DNSStrategyRoundRobin DNSStrategy = "round-robin" DNSStrategyRebind DNSStrategy = "rebind" )
func AllDNSStrategyValues ¶
func AllDNSStrategyValues() []DNSStrategy
func (*DNSStrategy) Scan ¶
func (e *DNSStrategy) Scan(src interface{}) error
type Event ¶
type Event struct {
ID int64 `db:"id"`
PayloadID int64 `db:"payload_id"`
Protocol string `db:"protocol"`
RW []byte `db:"rw"`
R []byte `db:"r"`
W []byte `db:"w"`
Meta EventsMeta `db:"meta"`
RemoteAddr string `db:"remote_addr"`
ReceivedAt time.Time `db:"received_at"`
CreatedAt time.Time `db:"created_at"`
UUID uuid.UUID `db:"uuid"`
}
type EventsCreateParams ¶
type EventsMeta ¶
type EventsMeta struct {
// Protocol-specific metadata (only one is populated per event)
DNS *dnsx.Meta `json:"dns,omitempty"`
HTTP *httpx.Meta `json:"http,omitempty"`
SMTP *smtpx.Meta `json:"smtp,omitempty"`
FTP *ftpx.Meta `json:"ftp,omitempty"`
// Common fields across protocols
Secure bool `json:"secure,omitempty"`
// GeoIP information (populated by event handler for all protocols)
GeoIP *geoipx.Meta `json:"geoip,omitempty"`
}
EventsMeta contains protocol-specific event metadata. Only one of the protocol-specific fields will be populated per event.
type HTTPHeaders ¶
type HTTPRoute ¶
type HTTPRoute struct {
ID int64 `db:"id"`
PayloadID int64 `db:"payload_id"`
Method string `db:"method"`
Path string `db:"path"`
Code int `db:"code"`
Headers HTTPHeaders `db:"headers"`
Body []byte `db:"body"`
IsDynamic bool `db:"is_dynamic"`
CreatedAt time.Time `db:"created_at"`
Index int `db:"index"`
}
type HTTPRoutesCreateParams ¶
type HTTPRoutesUpdateParams ¶
type NullAuditRecordActionType ¶
type NullAuditRecordActionType struct {
AuditRecordActionType AuditRecordActionType
Valid bool // Valid is true if AuditRecordActionType is not NULL
}
func (*NullAuditRecordActionType) Scan ¶
func (ns *NullAuditRecordActionType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAuditRecordResourceType ¶
type NullAuditRecordResourceType struct {
AuditRecordResourceType AuditRecordResourceType
Valid bool // Valid is true if AuditRecordResourceType is not NULL
}
func (*NullAuditRecordResourceType) Scan ¶
func (ns *NullAuditRecordResourceType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullAuditRecordSourceType ¶
type NullAuditRecordSourceType struct {
AuditRecordSourceType AuditRecordSourceType
Valid bool // Valid is true if AuditRecordSourceType is not NULL
}
func (*NullAuditRecordSourceType) Scan ¶
func (ns *NullAuditRecordSourceType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullDNSRecordType ¶
type NullDNSRecordType struct {
DNSRecordType DNSRecordType
Valid bool // Valid is true if DNSRecordType is not NULL
}
func (*NullDNSRecordType) Scan ¶
func (ns *NullDNSRecordType) Scan(value interface{}) error
Scan implements the Scanner interface.
type NullDNSStrategy ¶
type NullDNSStrategy struct {
DNSStrategy DNSStrategy
Valid bool // Valid is true if DNSStrategy is not NULL
}
func (*NullDNSStrategy) Scan ¶
func (ns *NullDNSStrategy) Scan(value interface{}) error
Scan implements the Scanner interface.
type PayloadsCreateParams ¶
type PayloadsUpdateParams ¶
type Querier ¶
type Querier interface {
AuditRecordsCreate(ctx context.Context, arg AuditRecordsCreateParams) (*AuditRecord, error)
AuditRecordsGetByID(ctx context.Context, id int64) (*AuditRecord, error)
AuditRecordsList(ctx context.Context, arg AuditRecordsListParams) ([]*AuditRecord, error)
DNSRecordsCreate(ctx context.Context, arg DNSRecordsCreateParams) (*DNSRecord, error)
DNSRecordsDelete(ctx context.Context, id *int64) error
DNSRecordsDeleteAllByPayloadID(ctx context.Context, payloadID int64) ([]*DNSRecord, error)
DNSRecordsDeleteAllByPayloadIDAndName(ctx context.Context, payloadID int64, name string) ([]*DNSRecord, error)
DNSRecordsGetByID(ctx context.Context, id *int64) (*DNSRecord, error)
DNSRecordsGetByPayloadID(ctx context.Context, payloadID int64) ([]*DNSRecord, error)
DNSRecordsGetByPayloadIDAndIndex(ctx context.Context, payloadID int64, index int) (*DNSRecord, error)
DNSRecordsGetByPayloadNameAndType(ctx context.Context, arg DNSRecordsGetByPayloadNameAndTypeParams) (*DNSRecord, error)
DNSRecordsGetCountByPayloadID(ctx context.Context, payloadID int64) (int64, error)
DNSRecordsUpdate(ctx context.Context, arg DNSRecordsUpdateParams) (*DNSRecord, error)
EventsCreate(ctx context.Context, arg EventsCreateParams) (*Event, error)
EventsGetByID(ctx context.Context, id int64) (*Event, error)
EventsGetByPayloadAndIndex(ctx context.Context, payloadID int64, index int64) (*EventsGetByPayloadAndIndexRow, error)
EventsListByPayloadID(ctx context.Context, arg EventsListByPayloadIDParams) ([]*EventsListByPayloadIDRow, error)
HTTPRoutesCreate(ctx context.Context, arg HTTPRoutesCreateParams) (*HTTPRoute, error)
HTTPRoutesDelete(ctx context.Context, id int64) error
HTTPRoutesDeleteAllByPayloadID(ctx context.Context, payloadID int64) ([]*HTTPRoute, error)
HTTPRoutesDeleteAllByPayloadIDAndPath(ctx context.Context, payloadID int64, path string) ([]*HTTPRoute, error)
HTTPRoutesGetByID(ctx context.Context, id int64) (*HTTPRoute, error)
HTTPRoutesGetByPayloadID(ctx context.Context, payloadID int64) ([]*HTTPRoute, error)
HTTPRoutesGetByPayloadIDAndIndex(ctx context.Context, payloadID int64, index int) (*HTTPRoute, error)
HTTPRoutesGetByPayloadMethodAndPath(ctx context.Context, arg HTTPRoutesGetByPayloadMethodAndPathParams) (*HTTPRoute, error)
HTTPRoutesUpdate(ctx context.Context, arg HTTPRoutesUpdateParams) (*HTTPRoute, error)
PayloadsCreate(ctx context.Context, arg PayloadsCreateParams) (*Payload, error)
PayloadsDelete(ctx context.Context, id int64) (*Payload, error)
PayloadsDeleteByNamePart(ctx context.Context, userID int64, name string) ([]*Payload, error)
PayloadsFindByUserAndName(ctx context.Context, arg PayloadsFindByUserAndNameParams) ([]*Payload, error)
PayloadsFindByUserID(ctx context.Context, userID int64) ([]*Payload, error)
PayloadsGetAllSubdomains(ctx context.Context) ([]string, error)
PayloadsGetByID(ctx context.Context, id int64) (*Payload, error)
PayloadsGetBySubdomain(ctx context.Context, subdomain string) (*Payload, error)
PayloadsGetByUserAndName(ctx context.Context, userID int64, name string) (*Payload, error)
PayloadsUpdate(ctx context.Context, arg PayloadsUpdateParams) (*Payload, error)
UsersCreate(ctx context.Context, arg UsersCreateParams) (*User, error)
UsersDelete(ctx context.Context, id int64) error
UsersGetByAPIToken(ctx context.Context, token string) (*User, error)
UsersGetByID(ctx context.Context, id int64) (*User, error)
UsersGetByLarkID(ctx context.Context, id string) (*User, error)
UsersGetByName(ctx context.Context, name string) (*User, error)
UsersGetBySlackID(ctx context.Context, id string) (*User, error)
UsersGetByTelegramID(ctx context.Context, id int64) (*User, error)
UsersList(ctx context.Context) ([]*User, error)
UsersUpdate(ctx context.Context, arg UsersUpdateParams) (*User, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AuditRecordsCreate ¶
func (q *Queries) AuditRecordsCreate(ctx context.Context, arg AuditRecordsCreateParams) (*AuditRecord, error)
func (*Queries) AuditRecordsGetByID ¶
func (*Queries) AuditRecordsList ¶
func (q *Queries) AuditRecordsList(ctx context.Context, arg AuditRecordsListParams) ([]*AuditRecord, error)
func (*Queries) DNSRecordsCreate ¶
func (*Queries) DNSRecordsDelete ¶
func (*Queries) DNSRecordsDeleteAllByPayloadID ¶
func (*Queries) DNSRecordsDeleteAllByPayloadIDAndName ¶
func (*Queries) DNSRecordsGetByID ¶
func (*Queries) DNSRecordsGetByPayloadID ¶
func (*Queries) DNSRecordsGetByPayloadIDAndIndex ¶
func (*Queries) DNSRecordsGetByPayloadNameAndType ¶
func (*Queries) DNSRecordsGetCountByPayloadID ¶
func (*Queries) DNSRecordsUpdate ¶
func (*Queries) EventsCreate ¶
func (*Queries) EventsGetByID ¶
func (*Queries) EventsGetByPayloadAndIndex ¶
func (*Queries) EventsListByPayloadID ¶
func (q *Queries) EventsListByPayloadID(ctx context.Context, arg EventsListByPayloadIDParams) ([]*EventsListByPayloadIDRow, error)
func (*Queries) HTTPRoutesCreate ¶
func (*Queries) HTTPRoutesDelete ¶
func (*Queries) HTTPRoutesDeleteAllByPayloadID ¶
func (*Queries) HTTPRoutesDeleteAllByPayloadIDAndPath ¶
func (*Queries) HTTPRoutesGetByID ¶
func (*Queries) HTTPRoutesGetByPayloadID ¶
func (*Queries) HTTPRoutesGetByPayloadIDAndIndex ¶
func (*Queries) HTTPRoutesGetByPayloadMethodAndPath ¶
func (*Queries) HTTPRoutesUpdate ¶
func (*Queries) PayloadsCreate ¶
func (*Queries) PayloadsDelete ¶
func (*Queries) PayloadsDeleteByNamePart ¶
func (*Queries) PayloadsFindByUserAndName ¶
func (*Queries) PayloadsFindByUserID ¶
func (*Queries) PayloadsGetAllSubdomains ¶
func (*Queries) PayloadsGetByID ¶
func (*Queries) PayloadsGetBySubdomain ¶
func (*Queries) PayloadsGetByUserAndName ¶
func (*Queries) PayloadsUpdate ¶
func (*Queries) UsersCreate ¶
func (*Queries) UsersGetByAPIToken ¶
func (*Queries) UsersGetByID ¶
func (*Queries) UsersGetByLarkID ¶
func (*Queries) UsersGetByName ¶
func (*Queries) UsersGetBySlackID ¶
func (*Queries) UsersGetByTelegramID ¶
func (*Queries) UsersUpdate ¶
type UsersCreateParams ¶
Click to show internal directories.
Click to hide internal directories.