Documentation
¶
Overview ¶
Copyright © (2020-2021) izFly Cloud
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.rg/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2022) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2020-2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © (2021) Bizfly Cloud ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func Execute()
- func MethodsReceiverIsNull(receiverID, methodName string, methodValue interface{})
- func ProcessDataTables(data []table.Row, parsingData map[string]interface{}) []table.Row
- func SliceContains(slice interface{}, val interface{}) (int, bool)
- type Attributes
- type AuthenticationFailure
- type AuthenticationSuccess
- type CASServiceResponse
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func MethodsReceiverIsNull ¶ added in v0.1.2
func MethodsReceiverIsNull(receiverID, methodName string, methodValue interface{})
MethodsReceiverIsNull - cast error if methods is null
func ProcessDataTables ¶ added in v0.1.2
ProcessDataTables - Process data to generate tables
func SliceContains ¶ added in v0.1.2
SliceContains - Check data in slice
Types ¶
type Attributes ¶ added in v0.2.23
type Attributes struct {
Token string `xml:"http://www.yale.edu/tp/cas token"`
}
type AuthenticationFailure ¶ added in v0.2.23
type AuthenticationSuccess ¶ added in v0.2.23
type AuthenticationSuccess struct {
XMLName xml.Name `xml:"http://www.yale.edu/tp/cas authenticationSuccess"`
User string `xml:"http://www.yale.edu/tp/cas user"`
Attributes *Attributes `xml:"http://www.yale.edu/tp/cas attributes"`
}
type CASServiceResponse ¶ added in v0.2.23
type CASServiceResponse struct {
XMLName xml.Name `xml:"http://www.yale.edu/tp/cas serviceResponse"`
AuthenticationSuccess *AuthenticationSuccess `xml:"http://www.yale.edu/tp/cas authenticationSuccess"`
AuthenticationFailure *AuthenticationFailure `xml:"http://www.yale.edu/tp/cas authenticationFailure"`
}
CASServiceResponse represents the CAS serviceValidate XML response XML namespace: http://www.yale.edu/tp/cas