Documentation ¶
Overview ¶
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
This source file is part of the carousell/aggproto open source project
Copyright © 2021 Carousell and the project authors Licensed under Apache License v2.0
See https://github.com/carousell/aggproto/blob/master/LICENSE for license information See https://github.com/carousell/aggproto/graphs/contributors for the list of project authors
Index ¶
- type AliasArgDescriptor
- type ApiDescriptor
- type ApiSpec
- type ArgDescriptor
- type BoolValueFieldDescriptor
- type Context
- type FieldDescriptor
- type FloatValueFieldDescriptor
- type InputFieldDescriptor
- type IntValueFieldDescriptor
- type Meta
- type NamespacedMessageFieldDescriptor
- type OpDescriptor
- type OutputFieldDescriptor
- type PipedArgDescriptor
- type PrimitiveFieldDescriptor
- type StringValueFieldDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasArgDescriptor ¶
type AliasArgDescriptor struct {
// contains filtered or unexported fields
}
func (*AliasArgDescriptor) Input ¶
func (a *AliasArgDescriptor) Input() string
func (*AliasArgDescriptor) Output ¶
func (a *AliasArgDescriptor) Output() string
type ApiDescriptor ¶
func GetApiDescriptor ¶
func GetApiDescriptor(group, name string, version int) ApiDescriptor
type ApiSpec ¶
type ArgDescriptor ¶
type BoolValueFieldDescriptor ¶
type BoolValueFieldDescriptor struct {
Value bool
}
type Context ¶
type Context struct { Api ApiDescriptor Output []FieldDescriptor Operation OpDescriptor Meta Meta Input []ArgDescriptor }
func ParseApiSpec ¶
type FieldDescriptor ¶
type FieldDescriptor interface { Input() InputFieldDescriptor Output() OutputFieldDescriptor }
func GetFieldDescriptors ¶
func GetFieldDescriptors(inputs ...string) []FieldDescriptor
type FloatValueFieldDescriptor ¶
type FloatValueFieldDescriptor struct {
Value float64
}
type InputFieldDescriptor ¶
type InputFieldDescriptor interface {
// contains filtered or unexported methods
}
type IntValueFieldDescriptor ¶
type IntValueFieldDescriptor struct {
Value int64
}
type NamespacedMessageFieldDescriptor ¶
type NamespacedMessageFieldDescriptor struct {
NamespacedField string
}
type OpDescriptor ¶
type OpDescriptor struct {
AllowedOperations []string
}
type OutputFieldDescriptor ¶
type OutputFieldDescriptor interface {
// contains filtered or unexported methods
}
type PipedArgDescriptor ¶
type PipedArgDescriptor struct {
// contains filtered or unexported fields
}
func (*PipedArgDescriptor) Input ¶
func (p *PipedArgDescriptor) Input() string
func (*PipedArgDescriptor) Output ¶
func (p *PipedArgDescriptor) Output() string
type PrimitiveFieldDescriptor ¶
type PrimitiveFieldDescriptor interface { InputFieldDescriptor // contains filtered or unexported methods }
type StringValueFieldDescriptor ¶
type StringValueFieldDescriptor struct {
Value string
}