blob: a9103506295e172e7b5e61c0f452caabe207c720 [file] [log] [blame]
Jens Geyerd1257de2013-07-31 13:03:26 +02001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20include "ThriftTest.thrift"
21
Jens Geyere52c0462014-05-02 23:37:39 +020022namespace go lib.go.test.namespacedtest
Jens Geyerd1257de2013-07-31 13:03:26 +020023
24enum Stuff {
25 ONE = 1,
26 TWO = 2,
27}
28
29const i32 THREE = 3;
30
31typedef i64 UserId
32
33struct StuffStruct {
34 2: Stuff stuff,
35}
36
37service NamespacedService {
38 ThriftTest.UserId getUserID(),
39}
40